forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

slink problem

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
cledward



Joined: 15 Jan 2007
Posts: 6
Location: ODESSA, TX USA

PostPosted: Tue Feb 24, 2009 12:12 am    Post subject: slink problem Reply with quote

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
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Tue Feb 24, 2009 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group