This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Newbie: libProblem.a


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]