This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
mips-sgi-irix6.2 ld with egcs-1.1b
- To: egcs at cygnus dot com
- Subject: mips-sgi-irix6.2 ld with egcs-1.1b
- From: Theodore Irons <ironst at aries dot tucson dot saic dot com>
- Date: Thu, 24 Sep 1998 19:16:03 -0700
- Organization: Science Applications
On an SGI R4400 machine (with IRIX 6.2), running egcs-1.1b I get:
CASE 1:
[206.rc_ptr] g++ test_rc_ptr.cc
ld: FATAL 9: I/O error (-lm): No such file or directory
collect2: ld returned 32 exit status
CASE 2:
[207.rc_ptr] g++ test_rc_ptr.cc -L/usr/lib32/mips3
ld: WARNING 84: /usr/lib32/mips3/libm.a is not used for resolving any
symbol.
(and a.out runs)
In the first case, doing g++ -v shows "... -lm ... -L/usr/lib32/mips3
...".
In the second case, doing g++ -v shows "... -L/usr/lib32/mip3 ... -lm
...".
Under IRIX 6.3 (R10000 machine), 6.4 (R10000), 6.5 (R4400) the result is
(using the mips-sgi-irix6.2 egcs-1.1b g++)
g++ test_rc_ptr.cc
ld: WARNING 84: /usr/lib32/mips3/libm.a is not used for resolving
any symbol.
(and a.out runs)
Doing g++ -v shows "... -lm ... -L/usr/lib32/mips3 ...".
What is going on?
Thanks,
Ted