# SteveB built for Solaris 8 with the following: # This should build a 32bit binary that can generate 64bit code #builddate 20051102 PACKAGE=gcc VERSION=4.0.2 #URL=ftp://ftp.gnu.org/gnu/${PACKAGE}/${PACKAGE}-${VERSION}.tar.gz PATH=/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/openwin/bin CC=gcc ../${PACKAGE}-${VERSION}/configure --prefix=/usr/local/packages/${PACKAGE}-${VERSION} \ --enable-languages=c,c++ \ --enable-threads \ --without-gnu-as --with-as=/usr/ccs/bin/as \ --without-gnu-ld --with-ld=/usr/ccs/bin/ld \ --disable-nls echo "now 'make bootstrap'" echo "after installation, it may be worth stripping the backends with the following command" echo " strip /usr/local/packages/${PACKAGE}-${VERSION}/lib/gcc-lib/*/${VERSION}/{cc1,cc1plus,f771}" # spec file: # gcc now uses an internal spec file by default. # To revert to the old behaviour, dump the spec file to # /usr/local/packages/gcc-$VERSION/lib/gcc//$VERSION/specs # You can then append the following entries to ensure that runtime support # libraries are linked from an appropriate directory. # # This change helps programs that require runtime shared libraries (e.g. c++). # Append the following to the spec file to enforce LD_RUN_PATH stuff: # #*uol_install_path: #/usr/local/packages/gcc-%(version) # #*link: #+ %{!m64:-R%(uol_install_path)/lib} %{m64:-R%(uol_install_path)/lib/sparcv9} #