www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/27/04:47:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <397FE96A.68BDDDE3@cygnus.com>
Date: Thu, 27 Jul 2000 09:48:58 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: ill-o AT visto DOT com
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: Missing libm.a, etc?
References: <200007262352 DOT QAA06691 AT cygnus DOT com>

Joseph Rosenzweig wrote:
> 
> I was using version B20 and now I am using
> the latest version of GCC and it complains
> when I give it option "-lm" that there is no
> libm.a, which there in fact is not anymore.
> I put the old B20 libm.a in the lib directory
> and the programs will compile. There are in fact
> a number of other files in lib from B20 that
> are not in lib of the latest version. Someone
> on this list posted something about how libm.a
> is now really libcygwin.a? Does that mean I
> don't have to specify "-lm" to use math
> functions now? What about the other missing
> lib files? Thanks in advance for any
> information -- Joseph Rosenzweig

libc.a and libm.a are included in libcygwin.a so there's no need to link
with `-lc' or `-lm'. You'll have to change that in your Makefile.

Corinna

-- 
Corinna Vinschen                   Please, send mail regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019