diff options
Diffstat (limited to 'translate/gcc')
-rw-r--r-- | translate/gcc/Make-lang.in | 6 | ||||
-rw-r--r-- | translate/gcc/README | 2 | ||||
-rwxr-xr-x | translate/gcc/dist.sh | 7 |
3 files changed, 8 insertions, 7 deletions
diff --git a/translate/gcc/Make-lang.in b/translate/gcc/Make-lang.in index 0c2cc0f..0139c2c 100644 --- a/translate/gcc/Make-lang.in +++ b/translate/gcc/Make-lang.in @@ -66,7 +66,7 @@ agcc_srcdir=$(srcdir)/vhdl agcc_objdir=. AGCC_GCCSRC_DIR=$(srcdir)/.. -AGCC_GCCOBJ_DIR=.. +AGCC_GCCOBJ_DIR=../ ####gcc Makefile.inc @@ -131,9 +131,9 @@ vhdl.install-common: ghdl$(exeext) install-info:: $(DESTDIR)$(infodir)/ghdl.info -vhdl.install-info: ghdl.info +vhdl.install-info: doc/ghdl.info -rm -rf $(infodir)/ghdl.info* - $(INSTALL_DATA) ghdl.info* $(DESTDIR)$(infodir) + $(INSTALL_DATA) doc/ghdl.info* $(DESTDIR)$(infodir) -chmod a-x $(DESTDIR)$(infodir)/ghdl.info* install-ghdllib: diff --git a/translate/gcc/README b/translate/gcc/README index 0ef1a8b..d2d49a1 100644 --- a/translate/gcc/README +++ b/translate/gcc/README @@ -29,7 +29,7 @@ Building GHDL from sources: Required: * the sources of @GCCVERSION@ (at least the core part). Note: other versions of gcc sources have not been tested. -* the Ada95 GNAT compiler (GNAT v3.15p and GNAT GPL 2005 are known to work; +* the Ada95 GNAT compiler (GNAT GPL 2005 are known to work; Ada compilers in most Linux distributions are more or less buggy) * GNU/Linux for ix86 (pc systems) (porting is necessary for other systems) diff --git a/translate/gcc/dist.sh b/translate/gcc/dist.sh index 7819dd8..97dff90 100755 --- a/translate/gcc/dist.sh +++ b/translate/gcc/dist.sh @@ -39,7 +39,7 @@ set -e # GCC version -GCCVERSION=4.1.2 +GCCVERSION=4.2.4 # Machine name used by GCC MACHINE=i686-pc-linux-gnu # Directory where GCC sources (and objects) stay. @@ -170,7 +170,7 @@ do_compile () rm -rf $GCCDISTOBJ mkdir $GCCDISTOBJ cd $GCCDISTOBJ - ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX + ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap make CFLAGS="-O -g" make -C gcc vhdl.info cd $CWD @@ -314,6 +314,7 @@ do_gtkwave_patch () # Update the doc do_website () { + cp "$DOWNLOAD_HTML" "$DOWNLOAD_HTML".old sed -e " /SRC-HREF/ s/href=\".*\"/href=\"$tarfile.bz2\"/ /BIN-HREF/ s/href=\".*\"/href=\"$bindirname.tar\"/ @@ -326,7 +327,7 @@ do_website () <td><a href=\"$bindirname.tar\">\\ $bindirname.tar</a></td>\\ </tr> -" < $DOWNLOAD_HTML > "$DOWNLOAD_HTML".new +" < "$DOWNLOAD_HTML".old > "$DOWNLOAD_HTML" dir=../../website/ghdl echo "Updating $dir" rm -rf $dir |