Newbie: libProblem.a

John Huddleston jhuddles@rocky.itc.nrcs.usda.gov
Tue May 2 08:54:00 GMT 2000


You may have to do both:

ranlib the archive and include it multiple times.

e.g.  ranlib liba.a

e.g.  -L. -la -lb -la

The X11 libes sometimes require multiple listing

John

----- Original Message -----
From: Bobak Csaba <h531649@sirius.cab.u-szeged.hu>
To: Earnie Boyd <earnie_boyd@yahoo.com>
Cc: <cygwin@sourceware.cygnus.com>
Sent: Tuesday, May 02, 2000 9:28 AM
Subject: Re: Newbie: libProblem.a


>
>
> On Tue, 2 May 2000, Earnie Boyd wrote:
>
> > You ordered you libs incorrectly.  Since b calls functions in a then you
need
> > to `gcc -o main main.c -L. -lb -la'.
> >
>
> I've tried that with no success.
>



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list