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 | |
parent | 2dc407beb7dde9f0c986ee14e80f3ac43398e8bb (diff) | |
download | ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.gz ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.bz2 ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.zip |
Version 0.28.
Diffstat (limited to 'translate')
-rw-r--r-- | translate/gcc/INSTALL | 7 | ||||
-rw-r--r-- | translate/gcc/Makefile.in | 3 | ||||
-rw-r--r-- | translate/gcc/README | 2 | ||||
-rwxr-xr-x | translate/gcc/dist.sh | 20 | ||||
-rw-r--r-- | translate/ghdldrv/Makefile | 2 | ||||
-rw-r--r-- | translate/ghdldrv/ghdllocal.adb | 1 | ||||
-rw-r--r-- | translate/ghdldrv/ghdlmain.adb | 2 | ||||
-rw-r--r-- | translate/grt/Makefile | 1 | ||||
-rw-r--r-- | translate/translation.adb | 4 |
9 files changed, 30 insertions, 12 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 } diff --git a/translate/ghdldrv/Makefile b/translate/ghdldrv/Makefile index 7aa2cdb..d684ce7 100644 --- a/translate/ghdldrv/Makefile +++ b/translate/ghdldrv/Makefile @@ -60,7 +60,7 @@ ortho_code-x86-flags.ads: ghdl_mcode: GRT_FLAGS+=-DWITH_GNAT_RUN_TIME ghdl_mcode: default_pathes.ads $(GRT_ADD_OBJS) $(ORTHO_DEPS) memsegs_c.o chkstk.o force - $(GNATMAKE) -aI../../ortho/mcode -aI../../ortho $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs memsegs_c.o chkstk.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(subst @,$(GRTSRCDIR),$(GRT_EXTRA_LIB)) -largs -L/usr/lib32 + $(GNATMAKE) -aI../../ortho/mcode -aI../../ortho $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs memsegs_c.o chkstk.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(subst @,$(GRTSRCDIR),$(GRT_EXTRA_LIB)) ghdl_llvm_jit: GRT_FLAGS+=-DWITH_GNAT_RUN_TIME ghdl_llvm_jit: default_pathes.ads $(GRT_ADD_OBJS) $(ORTHO_DEPS) bindings.o force diff --git a/translate/ghdldrv/ghdllocal.adb b/translate/ghdldrv/ghdllocal.adb index 7f6149a..11da683 100644 --- a/translate/ghdldrv/ghdllocal.adb +++ b/translate/ghdldrv/ghdllocal.adb @@ -555,6 +555,7 @@ package body Ghdllocal is exception when Errorout.Compilation_Error => Error ("importation has failed due to compilation error"); + raise; end Perform_Action; -- Command Check_Syntax. diff --git a/translate/ghdldrv/ghdlmain.adb b/translate/ghdldrv/ghdlmain.adb index 7cbada3..6cc3476 100644 --- a/translate/ghdldrv/ghdlmain.adb +++ b/translate/ghdldrv/ghdlmain.adb @@ -225,7 +225,7 @@ package body Ghdlmain is Put_Line ("Written by Tristan Gingold."); New_Line; -- Display copyright. Assume 80 cols terminal. - Put_Line ("Copyright (C) 2003 - 2008 Tristan Gingold."); + Put_Line ("Copyright (C) 2003 - 2009 Tristan Gingold."); Put_Line ("GHDL is free software, covered by the " & "GNU General Public License. There is NO"); Put_Line ("warranty; not even for MERCHANTABILITY or" diff --git a/translate/grt/Makefile b/translate/grt/Makefile index 1c6af4d..107aef7 100644 --- a/translate/grt/Makefile +++ b/translate/grt/Makefile @@ -19,6 +19,7 @@ GRT_FLAGS=-g -O GRT_ADAFLAGS=-gnatn ADAC=gcc +CC=gcc GNATFLAGS=$(CFLAGS) -gnatf -gnaty3befhkmr -gnatwlu GHDL1=../ghdl1-gcc GRTSRCDIR=. diff --git a/translate/translation.adb b/translate/translation.adb index e5e9b59..7a6f387 100644 --- a/translate/translation.adb +++ b/translate/translation.adb @@ -18187,6 +18187,10 @@ package body Translation is when Iir_Predefined_Now_Function => null; + when Iir_Predefined_Array_To_String => + -- Not yet supported! + null; + when others => Error_Kind ("translate_implicit_subprogram (" & Iir_Predefined_Functions'Image (Kind) & ")", |