BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: How do I create and link library using TLIB and TLINK

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
Hans-Bernhard Broeker
Guest





PostPosted: Tue Jun 01, 2004 6:03 pm    Post subject: Re: How do I create and link library using TLIB and TLINK Reply with quote



Dparker <info (AT) wrightools (DOT) com> wrote:

Quote:
I then typed: TLINK tf6.obj tf6lib.lib

That line is very incomplete, and that's your problem. The fact that
one of the files presented to the linker is a library you built on your
own is essentially irrelevant. The real problem is that a large number
of other argument to the commands are missing.

I.e. your quarrel is with the linker, not with making or using
libraries.

Quote:
Error: Undefined symbol _PUTS in library file tf6lib.lib in module TF6LIB

That's because your TLINK command fails to link in any C++ runtime library.

Quote:
and last error was

Fatal: No program entry point

And this one happens because you didn't include any startup files, either.

You'll have to either use the generic bcc driver to call the linker
for you, or read up on how to use the linker to link a C++ program
including all the runtime support files it needs.

--
Hans-Bernhard Broeker (broeker (AT) physik (DOT) rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
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, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.