delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/30/18:29:43

Date: Tue, 30 Dec 1997 15:28:41 -0800 (PST)
Message-Id: <199712302328.PAA23695@adit.ap.net>
Mime-Version: 1.0
To: nv95olbj AT klippan DOT se, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Building a DJGPP library

At 10:01  12/29/1997 GMT, Olof Bjarnason wrote:
>How do you build a DJGPP library? Are there any additional utilities
>needed except GCC and related?
No. All you need is `ar', which is part of binutils so you have it already.
Compile each module:
gcc -c foo1.c
gcc -c foo2.c
...

Then use `ar':
ar qcs libfoo.a foo1.o foo2.o ...

Also see the documentation for `ar', with that for the rest of the binutils.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019