Mail Archives: djgpp/1996/08/13/11:24:11
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 -