diff options
author | gingold | 2009-09-21 03:46:42 +0000 |
---|---|---|
committer | gingold | 2009-09-21 03:46:42 +0000 |
commit | 9e9f8604f11d93894990e7733127d083abab8f3e (patch) | |
tree | 24e35d22157442340b7f52954f5133905b577456 /translate/gcc/dist.sh | |
parent | 2dc407beb7dde9f0c986ee14e80f3ac43398e8bb (diff) | |
download | ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.gz ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.bz2 ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.zip |
Version 0.28.
Diffstat (limited to 'translate/gcc/dist.sh')
-rwxr-xr-x | translate/gcc/dist.sh | 20 |
1 files changed, 15 insertions, 5 deletions
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="<URL:http://gna.org/projects/ghdl>" - make CFLAGS="-O -g" + export CFLAGS="-O -g" + ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap --with-bugurl="<URL:http://gna.org/projects/ghdl>" --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 } |