mips-sgi-irix6.2 ld with egcs-1.1b

Theodore Irons ironst@aries.tucson.saic.com
Thu Sep 24 19:14:00 GMT 1998


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










More information about the Gcc mailing list