This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Newbie: libProblem.a
- To: "Bobak Csaba" <h531649 at sirius dot cab dot u-szeged dot hu>, "Earnie Boyd" <earnie_boyd at yahoo dot com>
- Subject: Re: Newbie: libProblem.a
- From: "John Huddleston" <jhuddles at rocky dot itc dot nrcs dot usda dot gov>
- Date: Tue, 2 May 2000 09:49:38 -0600
- Cc: <cygwin at sourceware dot cygnus dot com>
- Organization: nrcs
- References: <Pine.GSO.4.21.0005021726570.27608-100000@sirius>
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