Missing libm.a, etc?
Corinna Vinschen
vinschen@cygnus.com
Thu Jul 27 01:45:00 GMT 2000
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
More information about the Cygwin
mailing list