Thats seems very laborous. This way works pretty well for me. mkdir gnu-toolchain && cd gnu-toolchain;
wget http://gcc-uk.internet.bs/snapshots/4.3-20081002/gcc-4.3-20081002.tar.bz2 wget http://sources-redhat.oc1.mirrors.redwire.net/binutils/snapshots/binutils-2.18.92.tar.bz2 wget ftp://ftp.gmplib.org/pub/gmp-4.2.4.tar.bz2 wget http://www.mpfr.org/mpfr-current/mpfr-2.3.2.tar.bz2 2754 mkdir combined 2759 bzcat binutils-2.18.92.tar.bz2| tar xf - 2760 bzcat gmp-4.2.4.tar.bz2| tar xf - 2761 bzcat mpfr-2.3.2.tar.bz2| tar xf - 2764 bzcat gcc-4.3-20081002.tar.bz2| gtar xf - (Sun tar doesn't like something in gcc tarballs) cd combined ln -s ../gcc-4.3-20081002/* . rm libiberty (This is a symlink to the copy in gcc we use the one from binutils). ln -s ../binutils-2.18.92/{bfd,binutils,gas,gprof,libiberty,opcodes} . ln -s ../mpfr-2.3.2 mpfr ln -s ../gmp-4.2.4 gmp cd .. mkdir build && cd build; export PATH=/opt/dtbld/bin:/usr/sfw/i386-pc-solaris2.11/bin:/usr/sfw/bin:/usr/gnu/bin:/usr/ccs/bin:/usr/bin:/usr/sbin; ../combined/configure --prefix=/opt/gnu --build=i686-pc-solaris2.11 --enable-tls --with-ld=/usr/ccs/bin/ld --with-gnu-as --enable-languages=c,c++,fortran,objc && gmake pfexec gmake install (Should really run the test suite which uses Dejagnu - I haven't yet though). Only other thing I have done to it so far is : -- This message posted from opensolaris.org -------------- next part -------------- A non-text attachment was scrubbed... Name: gcc-4.3.3-mode.h-fixed-include.diff Type: application/octet-stream Size: 392 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20081003/625eaa82/attachment.obj>
