built and installed egcs-1.1

Andrew V. Klein avk@cig.mot.com
Tue Sep 15 00:55:00 GMT 1998


Folks -

===========================================================
I've configured, built, tested, and installed egcs-1.1
on:

  $ ./config.guess
  mips-sgi-irix6.3

Only real problem: the -lm flags.  See below for details.
===========================================================

As with egcs-1.0.1 there was a problem during the build
step.  Here is an extract from the nohup.out file:


 # /local/egcs-objdir-1.1a
 # Mon Sep 14 13:59:46 CDT 1998
 # IRIX comet8 6.3 12161207 IP32
 # 
 # ../egcs-1.1a/configure --prefix=/local/egcs --enable-shared
 # nohup make bootstrap

 make[1]: Entering directory `/local/egcs-objdir-1.1a/libiberty'
 if [ x"yes" = xyes ] && [ ! -d pic ]; then \

 . . .

 mv tlist piclist
 /local/egcs-objdir-1.1a/gcc/xgcc -B/local/egcs-objdir-1.1a/gcc/
     -g -O2 -fno-implicit-templates  -mabi=64  -shared -o libstdc++.so.2.9.0
     `cat piclist` -lm
 ld: FATAL 9: I/O error (-lm): No such file or directory
 collect2: ld returned 32 exit status
 make[4]: *** [libstdc++.so.2.9.0] Error 1
 make[4]: Leaving directory
     `/local/egcs-objdir-1.1a/mips-sgi-irix6.3/mabi=64/libstdc++'


I edited these makefiles:

 objdir/mips-sgi-irix6.3/mabi=64/libstdc++/Makefile
 objdir/mips-sgi-irix6.3/mabi=64/libstdc++/testsuite/Makefile
 objdir/mips-sgi-irix6.3/mabi=64/libstdc++/tests/Makefile

commenting-out the use of -lm, restarted the build, and all
went OK.

-- 

Andrew V. Klein
Motorola, Inc., IL75-3N12, 1475 W. Shure Drive, Arlington Heights, IL 60004
tel.: 847-632-6827     email: avk@cig.mot.com
fax.: 847-435-9017



More information about the Gcc mailing list