This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem linking libm.a.
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Mikael Johansson <mikael908 at hotmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 04 Jan 2005 07:07:09 -0600
- Subject: Re: Problem linking libm.a.
- References: <BAY2-F31B25914D7A29B79621518F9910@phx.gbl>
Hi Mikael,
Have you tried putting the -lc after the -lm, instead of before it?
If I recall correctly, libc.a is where the __errno resides.
--Eljay