delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/01/13:22:47

Date: Sat, 1 Nov 1997 10:16:24 -0800 (PST)
Message-Id: <199711011816.KAA18622@adit.ap.net>
Mime-Version: 1.0
To: rwh AT worldonline DOT nl, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Library

At 10:18  10/31/1997 +0100, Reinier Heeres wrote:
>Hi!
>
>How do I make a library out of several source files in DJGPP?
Compile them:
gcc -c foo1.c
gcc -c foo2.c
...
gcc -c fooN.c

Then use `ar' to create the library.

ar qcs foo1.o foo2.o ... fooN.o

See the info docs for `ar' (`info binutils ar') for more information on it.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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