This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.4/specs
   Configured with: /freeware/gcc/gcc/gcc-3.0.4/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.4

*) Bootstrapped from 3.0.3; quite some tricks are needed to coax it into
   building ... 

Recipe to build GCC 3.0.4 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 
       .../mips-dec-ultrix4.4/libstdc++-v3/config.h file.
  
If you prefer a prebuilt binary and you trust me, you find one at RCSRI's
Ultrix Archives (http://starfish.osfn.org/ultrix/).  The appropriate
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]