Mail Archives: djgpp/1997/09/23/23:25:23
At 03:26 9/20/1997 GMT, root wrote:
>In article <874753897snz AT genesis DOT demon DOT co DOT uk>, fred AT genesis DOT demon DOT co DOT uk
>says...
>>
>>In article <3422F186 DOT 76D2 AT geocities DOT com>
>> wizkids_online AT geocities DOT com "MaStEr Of WiZDoM" writes:
>>
>>>Hi Everyone,
>>>
>>>I have a question for you guys. Ok, I have a couple of math functions
>>>that I've
>>>created with DJGPP's C/C++ V2 compiler. And now, I would like to know
>>>the steps
>>>that I need to take to turn all these functions (about 45) in a
>>>library?
>>
>>Since this is purely a compiler/implementation issue I've redirected
>>followups to comp.os.msdos.djgpp only.
>>
>gcc -o lib.a xx1.o xx2.o ... xxN.o
>ranlib lib.a
Sorry, but that's wrong. It's like this:
ar -qc lib.a xx1.o xx2.o ... xxN.o
ranlib lib.a
Read the info docs for more useful flags to `ar'.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -