This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Missing libm.a, etc?
- To: ill-o at visto dot com
- Subject: Re: Missing libm.a, etc?
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Thu, 27 Jul 2000 09:48:58 +0200
- CC: cygwin at sources dot redhat dot com
- References: <200007262352.QAA06691@cygnus.com>
- Reply-To: cygwin <cygwin at sources dot redhat 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@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com