From 9e9f8604f11d93894990e7733127d083abab8f3e Mon Sep 17 00:00:00 2001 From: gingold Date: Mon, 21 Sep 2009 03:46:42 +0000 Subject: Version 0.28. --- translate/gcc/dist.sh | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'translate/gcc/dist.sh') diff --git a/translate/gcc/dist.sh b/translate/gcc/dist.sh index da78ff0..e22b278 100755 --- a/translate/gcc/dist.sh +++ b/translate/gcc/dist.sh @@ -28,8 +28,8 @@ # * Create source tar and build binaries: ./dist.sh dist_phase1 # * su root # * Build binary tar: ./dist.sh dist_phase2 -# * Run the testsuites: GHDL=ghdl ./testsuite.sh -# * Update website/index.html (./dist.sh website helps, rename .new) +# * Run the testsuites: GHDL=ghdl ./testsuite.sh gcc +# * Update website/index.html (./dist.sh website helps) # * upload (./dist upload) # * CVS commit, tag + cd image. # * remove previous version in /usr/local @@ -39,7 +39,7 @@ set -e # GCC version -GCCVERSION=4.3.1 +GCCVERSION=4.3.4 # Machine name used by GCC MACHINE=i686-pc-linux-gnu # Directory where GCC sources (and objects) stay. @@ -167,11 +167,21 @@ do_compile () do_update_gcc_sources; +# gmp build with: +# CFLAGS="-O -m32" ./configure --prefix=$HOME/dist/build \ +# --disable-shared --build=i686-pc-linux-gnu +# make +# make install +# make check + + # usegnat32! + rm -rf $GCCDISTOBJ mkdir $GCCDISTOBJ cd $GCCDISTOBJ - ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap --with-bugurl="" - make CFLAGS="-O -g" + export CFLAGS="-O -g" + ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap --with-bugurl="" --build=i686-pc-linux-gnu --with-gmp=$PWD/../build --with-mpfr=$PWD/../build --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp + make make -C gcc vhdl.info cd $CWD } -- cgit