View previous topic :: View next topic |
Author |
Message |
cledward
Joined: 15 Jan 2007 Posts: 6 Location: ODESSA, TX USA
|
Posted: Tue Feb 24, 2009 12:12 am Post subject: slink problem |
|
|
the slink command using an object listing file does not work in the latest edition. as an example if the file objfile.txt has the names of the object files pertaining to main.obj and the first obj file in objfile.txt is sub1.obj, the command
slink main.obj -addobj:@objfile.txt
will result in the linkage to sub1 not recognized
slink in the interactive mode
slink
lo main.obj
addobj sub1.obj
addobj sub2.obj
.....etc....
file
will work _________________ CLE |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Tue Feb 24, 2009 4:21 am Post subject: |
|
|
replace all "addobj" with "lo"
addobj is used to create a .lib library, which is started with "archive file.lib"
I find .lib files very useful, although they are the old style of program development.
John |
|
Back to top |
|
|
|