C (4/178)

From:Andrew Markwell
Date:09 Jul 2000 at 15:14:20
Subject:Re: Linker libraries

>From: Colin Wenzel <colstv@hotkey.net.au>

>
>If you are using Aztec-C I would just tell you to look in the
>bin drawer for an executable called "lb" it is the librarian.
>But since I don't know what system you are using,
>I can't give more specific advice than what I have....
>
>This setup may be applicable to other environments too
>so I will elaborate incase it can be usefull...
>
>Compile the source as usual with:
>usage: *cc path:sourcefile.c*
>
>That generates the .o file, then use the librarian.
>
>usage: * lb path:libname.lib -v -a+ path:objectfile.o*
>
>That will add that particular object module to the library.
>Be carefull what order you put them in, incase one function calls
>another one in the same library...
>
>The lowest level functions, go in last.
>
>
I am using the featureless and manual-less HiSoft C++ so I have no "lb"
tool. Although it does generate #?.o files (woopee) so I'll look on Aminet
and see if there is some tool that'll do it.

Andrew Markwell

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

------------------------------------------------------------------------
Missing old school friends? Find them here:
http://click.egroups.com/1/5534/1/_/451227/_/963152061/
------------------------------------------------------------------------