summaryrefslogtreecommitdiff
path: root/translate/gcc
diff options
context:
space:
mode:
authorgingold2009-09-21 03:46:42 +0000
committergingold2009-09-21 03:46:42 +0000
commit9e9f8604f11d93894990e7733127d083abab8f3e (patch)
tree24e35d22157442340b7f52954f5133905b577456 /translate/gcc
parent2dc407beb7dde9f0c986ee14e80f3ac43398e8bb (diff)
downloadghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.gz
ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.bz2
ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.zip
Version 0.28.
Diffstat (limited to 'translate/gcc')
-rw-r--r--translate/gcc/INSTALL7
-rw-r--r--translate/gcc/Makefile.in3
-rw-r--r--translate/gcc/README2
-rwxr-xr-xtranslate/gcc/dist.sh20
4 files changed, 22 insertions, 10 deletions
diff --git a/translate/gcc/INSTALL b/translate/gcc/INSTALL
index f4fb8a0..8b95cea 100644
--- a/translate/gcc/INSTALL
+++ b/translate/gcc/INSTALL
@@ -1,6 +1,6 @@
Install file for the binary distribution of GHDL.
-GHDL is Copyright 2002, 2003, 2004, 2005, 2006, 2007 Tristan Gingold.
+GHDL is Copyright 2002 - 2009 Tristan Gingold.
GHDL is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@@ -17,7 +17,8 @@ $ su
Note: you must also have a C compiler and zlib installed.
-Good luck.
+There is a mailing list for any questions. You can subscribe via:
+ https://mail.gna.org/listinfo/ghdl-discuss/
Tristan Gingold.
-ghdl@free.fr
+
diff --git a/translate/gcc/Makefile.in b/translate/gcc/Makefile.in
index d5de5c7..e228820 100644
--- a/translate/gcc/Makefile.in
+++ b/translate/gcc/Makefile.in
@@ -167,10 +167,11 @@ drvdir/default_pathes.ads: drvdir Makefile
echo "-- DO NOT EDIT" > tmp-dpathes.ads
echo "-- This file is created by Makefile" >> tmp-dpathes.ads
echo "package Default_Pathes is" >> tmp-dpathes.ads
- echo " Compiler_Gcc : constant String :=" >> tmp-dpathes.ads
+ echo " Compiler_Gcc : constant String :=" >> tmp-dpathes.ads
echo " \"$(libexecsubdir)/ghdl1$(exeext)\";" >> tmp-dpathes.ads
echo " Compiler_Debug : constant String :=\"\";" >> tmp-dpathes.ads
echo " Compiler_Mcode : constant String :=\"\";" >> tmp-dpathes.ads
+ echo " Compiler_Llvm : constant String :=\"\";" >> tmp-dpathes.ads
echo " Post_Processor : constant String :=\"\";" >> tmp-dpathes.ads
echo " Prefix : constant String :=">> tmp-dpathes.ads
echo " \"$(libsubdir)/vhdl/lib/\";" >> tmp-dpathes.ads
diff --git a/translate/gcc/README b/translate/gcc/README
index f1ee39f..63c3981 100644
--- a/translate/gcc/README
+++ b/translate/gcc/README
@@ -4,7 +4,7 @@ To get the binary distribution or more information, go to http://ghdl.free.fr
Copyright:
**********
-GHDL is copyright (c) 2002 - 2008 Tristan Gingold.
+GHDL is copyright (c) 2002 - 2009 Tristan Gingold.
See the GHDL manual for more details.
This program is free software; you can redistribute it and/or modify
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
}