This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Successful build on Ultrix 4.4 mips ECOFF
- From: Bert De Knuydt <Bert dot Deknuydt at esat dot kuleuven dot ac dot be>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 9 Jan 2002 17:17:08 +0100
- Subject: Successful build on Ultrix 4.4 mips ECOFF
Subject says most ... I did not bother to try and build the Java stuff.
Greetings, Bert.
*) mips-dec-ultrix4.4
*) Reading specs from /freeware/gcc/mips/lib/gcc-lib/mips-dec-ultrix4.4/3.0.3/specs
Configured with: /freeware/gcc/gcc/gcc-3.0.3/configure --prefix=/freeware/gcc --exec-prefix=/freeware/gcc/mips --with-local-prefix=/freeware/gcc --enable-version-specific-runtime-libs --enable-languages=c++,f77 --with-gnu-as --with-gnu-ld
Thread model: single
gcc version 3.0.3
*) Bootstrapped from 2.95.3; quite some tricks are needed to coax it into
building ...
Recipe to build GCC 3.0.3 on Ultrix:
--> You need a recent GNU assembler and GNU loader. I used both from
binutils 2.11.2. Put the appropriate links in the build directory.
Bootstrap from a previous gcc is possible.
--> You set the environment variable CONFIG_SHELL to either /usr/bin/ksh (or
bash). The default /bin/sh is not up to the job. /bin/sh5 is better
but still causes problems in 'libtool'.
--> Run configure (see above) and 'make bootstrap'. Note that this takes
quite some time (about 20 hours CPU on a 40 MHz R3000 with 256 MB RAM).
--> The compiler should now build okay, but the C++ libraries will not.
*) 'signbit.c' will not compile, because the endian-ness is not
set. You can add '#define LITTLE_ENDIAN 1' to the config.h file.
*) Problems with libtool ('invalid tag name CXX') will occur. This is
again because of /bin/sh. Apparently libtool does not always look
at CONFIG_SHELL. You should edit the libtool script and replace
/bin/sh with /usr/bin/ksh AND correct one line where this CXX tag is
defined (the error is obvious).
If you prefer a prebuilt binary and you trust me, you find one at RCSRI's
Ultrix Archives (http://starfish.osfn.org/ultrix/). The appriopriate
binutils are also available there.
--
-------------- eMail Bert.Deknuydt@esat.kuleuven.ac.be ---------------
B.DeKnuydt, PSI-KULeuven Tel. +32-16-321880
Kasteelpark Arenberg 10 /| | ||
B-3001 Leuven-Heverlee _,_)| 4_|_||
FLANDERS, BELGIUM / . Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
Or shall man have what he wishes? Nay! Qur'An 53, 24