This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971016 problems with -lm on IRIX 6.2
- To: Toshiyasu Morita <tm at netcom dot com>
- Subject: Re: egcs-971016 problems with -lm on IRIX 6.2
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Tue, 21 Oct 1997 23:46:44 -0700
- cc: egcs-bugs at cygnus dot com
It looks like collect2 is being installed as "ld" but where is the real
system linker invoked?
collect2 invokes the real system linker.
Anybody have any insight as to why it's not finding libm.a?
I do have a libm.a:
pooh 15% ls -la /usr/lib/libm.a
-r--r--r-- 1 root sys 212884 Oct 21 13:31 /usr/lib/libm.a
No, that isn't the math library. Or rather, that isn't the right one.
Gcc generates N32 code, and hence needs the N32 math library, which is in
/usr/lib32. There should be a /usr/lib32/mips3/libm.a and lots of other
stuff in /usr/lib32. You may need to install some N32 libraries.
Jim