www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/13/11:24:11

From: kagel AT quasar DOT bloomberg DOT com
Date: Tue, 13 Aug 1996 09:57:01 -0400
Message-Id: <9608131357.AA02829@quasar.bloomberg.com >
To: jkluebs AT sprynet DOT com
Cc: djgpp AT delorie DOT com
In-Reply-To: <320E7FB3.557@sprynet.com> (message from John Luebs on Sun, 11 Aug 1996 20:49:56 -0400)
Subject: Re: Making LIBs
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   From: John Luebs <jkluebs AT sprynet DOT com>
   Date: Sun, 11 Aug 1996 20:49:56 -0400

   How do you make static libraries with DJGPP, I have TLIB for Turbo C,
   would that work??

Use the "ar" utility in the DJGPP Binutils distribution.  See the Info
documentation on "ar" but the simple command is:

To create a new archive:

ar cvs libmylib.a mycode1.o mycode2.o .....

To update an existing library:

ar rvs libmylib.a mycode7.o ...

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


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