Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <018e01bfb44e$0915dde0$9801010a@gpsr.colostate.edu>
From: "John Huddleston" <jhuddles AT rocky DOT itc DOT nrcs DOT usda DOT gov>
To: "Bobak Csaba" <h531649 AT sirius DOT cab DOT u-szeged DOT hu>,
        "Earnie Boyd" <earnie_boyd AT yahoo DOT com>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
References: <Pine DOT GSO DOT 4 DOT 21 DOT 0005021726570 DOT 27608-100000 AT sirius>
Subject: Re: Newbie: libProblem.a
Date: Tue, 2 May 2000 09:49:38 -0600
Organization: nrcs
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

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 AT sirius DOT cab DOT u-szeged DOT hu>
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Cc: <cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com