summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ghdldrv/Makefile (renamed from src/translate/ghdldrv/Makefile)0
-rw-r--r--src/ghdldrv/default_pathes.ads.in (renamed from src/translate/ghdldrv/default_pathes.ads.in)0
-rw-r--r--src/ghdldrv/foreigns.adb (renamed from src/translate/ghdldrv/foreigns.adb)0
-rw-r--r--src/ghdldrv/foreigns.ads (renamed from src/translate/ghdldrv/foreigns.ads)0
-rw-r--r--src/ghdldrv/ghdl_gcc.adb (renamed from src/translate/ghdldrv/ghdl_gcc.adb)0
-rw-r--r--src/ghdldrv/ghdl_jit.adb (renamed from src/translate/ghdldrv/ghdl_jit.adb)0
-rw-r--r--src/ghdldrv/ghdl_simul.adb (renamed from src/translate/ghdldrv/ghdl_simul.adb)0
-rw-r--r--src/ghdldrv/ghdlcomp.adb (renamed from src/translate/ghdldrv/ghdlcomp.adb)0
-rw-r--r--src/ghdldrv/ghdlcomp.ads (renamed from src/translate/ghdldrv/ghdlcomp.ads)0
-rw-r--r--src/ghdldrv/ghdldrv.adb (renamed from src/translate/ghdldrv/ghdldrv.adb)0
-rw-r--r--src/ghdldrv/ghdldrv.ads (renamed from src/translate/ghdldrv/ghdldrv.ads)0
-rw-r--r--src/ghdldrv/ghdllocal.adb (renamed from src/translate/ghdldrv/ghdllocal.adb)0
-rw-r--r--src/ghdldrv/ghdllocal.ads (renamed from src/translate/ghdldrv/ghdllocal.ads)0
-rw-r--r--src/ghdldrv/ghdlmain.adb (renamed from src/translate/ghdldrv/ghdlmain.adb)0
-rw-r--r--src/ghdldrv/ghdlmain.ads (renamed from src/translate/ghdldrv/ghdlmain.ads)0
-rw-r--r--src/ghdldrv/ghdlprint.adb (renamed from src/translate/ghdldrv/ghdlprint.adb)0
-rw-r--r--src/ghdldrv/ghdlprint.ads (renamed from src/translate/ghdldrv/ghdlprint.ads)0
-rw-r--r--src/ghdldrv/ghdlrun.adb (renamed from src/translate/ghdldrv/ghdlrun.adb)0
-rw-r--r--src/ghdldrv/ghdlrun.ads (renamed from src/translate/ghdldrv/ghdlrun.ads)0
-rw-r--r--src/ghdldrv/ghdlsimul.adb (renamed from src/translate/ghdldrv/ghdlsimul.adb)0
-rw-r--r--src/ghdldrv/ghdlsimul.ads (renamed from src/translate/ghdldrv/ghdlsimul.ads)0
-rw-r--r--src/ghdldrv/grtlink.ads (renamed from src/translate/ghdldrv/grtlink.ads)0
-rw-r--r--src/grt/Makefile (renamed from src/translate/grt/Makefile)0
-rw-r--r--src/grt/Makefile.inc (renamed from src/translate/grt/Makefile.inc)0
-rw-r--r--src/grt/config/Makefile (renamed from src/translate/grt/config/Makefile)0
-rw-r--r--src/grt/config/amd64.S (renamed from src/translate/grt/config/amd64.S)0
-rw-r--r--src/grt/config/chkstk.S (renamed from src/translate/grt/config/chkstk.S)0
-rw-r--r--src/grt/config/clock.c (renamed from src/translate/grt/config/clock.c)0
-rw-r--r--src/grt/config/i386.S (renamed from src/translate/grt/config/i386.S)0
-rw-r--r--src/grt/config/ia64.S (renamed from src/translate/grt/config/ia64.S)0
-rw-r--r--src/grt/config/linux.c (renamed from src/translate/grt/config/linux.c)0
-rw-r--r--src/grt/config/ppc.S (renamed from src/translate/grt/config/ppc.S)0
-rw-r--r--src/grt/config/pthread.c (renamed from src/translate/grt/config/pthread.c)0
-rw-r--r--src/grt/config/sparc.S (renamed from src/translate/grt/config/sparc.S)0
-rw-r--r--src/grt/config/teststack.c (renamed from src/translate/grt/config/teststack.c)0
-rw-r--r--src/grt/config/times.c (renamed from src/translate/grt/config/times.c)0
-rw-r--r--src/grt/config/win32.c (renamed from src/translate/grt/config/win32.c)0
-rw-r--r--src/grt/config/win32thr.c (renamed from src/translate/grt/config/win32thr.c)0
-rw-r--r--src/grt/ghdl_main.adb (renamed from src/translate/grt/ghdl_main.adb)0
-rw-r--r--src/grt/ghdl_main.ads (renamed from src/translate/grt/ghdl_main.ads)0
-rw-r--r--src/grt/ghwdump.c (renamed from src/translate/grt/ghwdump.c)0
-rw-r--r--src/grt/ghwlib.c (renamed from src/translate/grt/ghwlib.c)0
-rw-r--r--src/grt/ghwlib.h (renamed from src/translate/grt/ghwlib.h)0
-rw-r--r--src/grt/grt-arch.ads (renamed from src/translate/grt/grt-arch.ads)0
-rw-r--r--src/grt/grt-arch_none.adb (renamed from src/translate/grt/grt-arch_none.adb)0
-rw-r--r--src/grt/grt-arch_none.ads (renamed from src/translate/grt/grt-arch_none.ads)0
-rw-r--r--src/grt/grt-astdio.adb (renamed from src/translate/grt/grt-astdio.adb)0
-rw-r--r--src/grt/grt-astdio.ads (renamed from src/translate/grt/grt-astdio.ads)0
-rw-r--r--src/grt/grt-avhpi.adb (renamed from src/translate/grt/grt-avhpi.adb)0
-rw-r--r--src/grt/grt-avhpi.ads (renamed from src/translate/grt/grt-avhpi.ads)0
-rw-r--r--src/grt/grt-avls.adb (renamed from src/translate/grt/grt-avls.adb)0
-rw-r--r--src/grt/grt-avls.ads (renamed from src/translate/grt/grt-avls.ads)0
-rw-r--r--src/grt/grt-c.ads (renamed from src/translate/grt/grt-c.ads)0
-rw-r--r--src/grt/grt-cbinding.c (renamed from src/translate/grt/grt-cbinding.c)0
-rw-r--r--src/grt/grt-cvpi.c (renamed from src/translate/grt/grt-cvpi.c)0
-rw-r--r--src/grt/grt-disp.adb (renamed from src/translate/grt/grt-disp.adb)0
-rw-r--r--src/grt/grt-disp.ads (renamed from src/translate/grt/grt-disp.ads)0
-rw-r--r--src/grt/grt-disp_rti.adb (renamed from src/translate/grt/grt-disp_rti.adb)0
-rw-r--r--src/grt/grt-disp_rti.ads (renamed from src/translate/grt/grt-disp_rti.ads)0
-rw-r--r--src/grt/grt-disp_signals.adb (renamed from src/translate/grt/grt-disp_signals.adb)0
-rw-r--r--src/grt/grt-disp_signals.ads (renamed from src/translate/grt/grt-disp_signals.ads)0
-rw-r--r--src/grt/grt-disp_tree.adb (renamed from src/translate/grt/grt-disp_tree.adb)0
-rw-r--r--src/grt/grt-disp_tree.ads (renamed from src/translate/grt/grt-disp_tree.ads)0
-rw-r--r--src/grt/grt-errors.adb (renamed from src/translate/grt/grt-errors.adb)0
-rw-r--r--src/grt/grt-errors.ads (renamed from src/translate/grt/grt-errors.ads)0
-rw-r--r--src/grt/grt-files.adb (renamed from src/translate/grt/grt-files.adb)0
-rw-r--r--src/grt/grt-files.ads (renamed from src/translate/grt/grt-files.ads)0
-rw-r--r--src/grt/grt-hooks.adb (renamed from src/translate/grt/grt-hooks.adb)0
-rw-r--r--src/grt/grt-hooks.ads (renamed from src/translate/grt/grt-hooks.ads)0
-rw-r--r--src/grt/grt-images.adb (renamed from src/translate/grt/grt-images.adb)0
-rw-r--r--src/grt/grt-images.ads (renamed from src/translate/grt/grt-images.ads)0
-rw-r--r--src/grt/grt-lib.adb (renamed from src/translate/grt/grt-lib.adb)0
-rw-r--r--src/grt/grt-lib.ads (renamed from src/translate/grt/grt-lib.ads)0
-rw-r--r--src/grt/grt-main.adb (renamed from src/translate/grt/grt-main.adb)0
-rw-r--r--src/grt/grt-main.ads (renamed from src/translate/grt/grt-main.ads)0
-rw-r--r--src/grt/grt-modules.adb (renamed from src/translate/grt/grt-modules.adb)0
-rw-r--r--src/grt/grt-modules.ads (renamed from src/translate/grt/grt-modules.ads)0
-rw-r--r--src/grt/grt-names.adb (renamed from src/translate/grt/grt-names.adb)0
-rw-r--r--src/grt/grt-names.ads (renamed from src/translate/grt/grt-names.ads)0
-rw-r--r--src/grt/grt-options.adb (renamed from src/translate/grt/grt-options.adb)0
-rw-r--r--src/grt/grt-options.ads (renamed from src/translate/grt/grt-options.ads)0
-rw-r--r--src/grt/grt-processes.adb (renamed from src/translate/grt/grt-processes.adb)0
-rw-r--r--src/grt/grt-processes.ads (renamed from src/translate/grt/grt-processes.ads)0
-rw-r--r--src/grt/grt-readline.ads (renamed from src/translate/grt/grt-readline.ads)0
-rw-r--r--src/grt/grt-rtis.adb (renamed from src/translate/grt/grt-rtis.adb)0
-rw-r--r--src/grt/grt-rtis.ads (renamed from src/translate/grt/grt-rtis.ads)0
-rw-r--r--src/grt/grt-rtis_addr.adb (renamed from src/translate/grt/grt-rtis_addr.adb)0
-rw-r--r--src/grt/grt-rtis_addr.ads (renamed from src/translate/grt/grt-rtis_addr.ads)0
-rw-r--r--src/grt/grt-rtis_binding.ads (renamed from src/translate/grt/grt-rtis_binding.ads)0
-rw-r--r--src/grt/grt-rtis_types.adb (renamed from src/translate/grt/grt-rtis_types.adb)0
-rw-r--r--src/grt/grt-rtis_types.ads (renamed from src/translate/grt/grt-rtis_types.ads)0
-rw-r--r--src/grt/grt-rtis_utils.adb (renamed from src/translate/grt/grt-rtis_utils.adb)0
-rw-r--r--src/grt/grt-rtis_utils.ads (renamed from src/translate/grt/grt-rtis_utils.ads)0
-rw-r--r--src/grt/grt-sdf.adb (renamed from src/translate/grt/grt-sdf.adb)0
-rw-r--r--src/grt/grt-sdf.ads (renamed from src/translate/grt/grt-sdf.ads)0
-rw-r--r--src/grt/grt-shadow_ieee.adb (renamed from src/translate/grt/grt-shadow_ieee.adb)0
-rw-r--r--src/grt/grt-shadow_ieee.ads (renamed from src/translate/grt/grt-shadow_ieee.ads)0
-rw-r--r--src/grt/grt-signals.adb (renamed from src/translate/grt/grt-signals.adb)0
-rw-r--r--src/grt/grt-signals.ads (renamed from src/translate/grt/grt-signals.ads)0
-rw-r--r--src/grt/grt-stack2.adb (renamed from src/translate/grt/grt-stack2.adb)0
-rw-r--r--src/grt/grt-stack2.ads (renamed from src/translate/grt/grt-stack2.ads)0
-rw-r--r--src/grt/grt-stacks.adb (renamed from src/translate/grt/grt-stacks.adb)0
-rw-r--r--src/grt/grt-stacks.ads (renamed from src/translate/grt/grt-stacks.ads)0
-rw-r--r--src/grt/grt-stats.adb (renamed from src/translate/grt/grt-stats.adb)0
-rw-r--r--src/grt/grt-stats.ads (renamed from src/translate/grt/grt-stats.ads)0
-rw-r--r--src/grt/grt-std_logic_1164.adb (renamed from src/translate/grt/grt-std_logic_1164.adb)0
-rw-r--r--src/grt/grt-std_logic_1164.ads (renamed from src/translate/grt/grt-std_logic_1164.ads)0
-rw-r--r--src/grt/grt-stdio.ads (renamed from src/translate/grt/grt-stdio.ads)0
-rw-r--r--src/grt/grt-table.adb (renamed from src/translate/grt/grt-table.adb)0
-rw-r--r--src/grt/grt-table.ads (renamed from src/translate/grt/grt-table.ads)0
-rw-r--r--src/grt/grt-threads.ads (renamed from src/translate/grt/grt-threads.ads)0
-rw-r--r--src/grt/grt-types.ads (renamed from src/translate/grt/grt-types.ads)0
-rw-r--r--src/grt/grt-unithread.adb (renamed from src/translate/grt/grt-unithread.adb)0
-rw-r--r--src/grt/grt-unithread.ads (renamed from src/translate/grt/grt-unithread.ads)0
-rw-r--r--src/grt/grt-values.adb (renamed from src/translate/grt/grt-values.adb)0
-rw-r--r--src/grt/grt-values.ads (renamed from src/translate/grt/grt-values.ads)0
-rw-r--r--src/grt/grt-vcd.adb (renamed from src/translate/grt/grt-vcd.adb)0
-rw-r--r--src/grt/grt-vcd.ads (renamed from src/translate/grt/grt-vcd.ads)0
-rw-r--r--src/grt/grt-vcdz.adb (renamed from src/translate/grt/grt-vcdz.adb)0
-rw-r--r--src/grt/grt-vcdz.ads (renamed from src/translate/grt/grt-vcdz.ads)0
-rw-r--r--src/grt/grt-vital_annotate.adb (renamed from src/translate/grt/grt-vital_annotate.adb)0
-rw-r--r--src/grt/grt-vital_annotate.ads (renamed from src/translate/grt/grt-vital_annotate.ads)0
-rw-r--r--src/grt/grt-vpi.adb (renamed from src/translate/grt/grt-vpi.adb)0
-rw-r--r--src/grt/grt-vpi.ads (renamed from src/translate/grt/grt-vpi.ads)0
-rw-r--r--src/grt/grt-vstrings.adb (renamed from src/translate/grt/grt-vstrings.adb)0
-rw-r--r--src/grt/grt-vstrings.ads (renamed from src/translate/grt/grt-vstrings.ads)0
-rw-r--r--src/grt/grt-waves.adb (renamed from src/translate/grt/grt-waves.adb)0
-rw-r--r--src/grt/grt-waves.ads (renamed from src/translate/grt/grt-waves.ads)0
-rw-r--r--src/grt/grt-zlib.ads (renamed from src/translate/grt/grt-zlib.ads)0
-rw-r--r--src/grt/grt.adc (renamed from src/translate/grt/grt.adc)0
-rw-r--r--src/grt/grt.ads (renamed from src/translate/grt/grt.ads)0
-rw-r--r--src/grt/grt.ver (renamed from src/translate/grt/grt.ver)0
-rw-r--r--src/grt/main.adb (renamed from src/translate/grt/main.adb)0
-rw-r--r--src/grt/main.ads (renamed from src/translate/grt/main.ads)0
-rw-r--r--src/translate/gcc/ANNOUNCE21
-rw-r--r--src/translate/gcc/INSTALL24
-rw-r--r--src/translate/gcc/Make-lang.in190
-rw-r--r--src/translate/gcc/Makefile.in299
-rw-r--r--src/translate/gcc/README87
-rw-r--r--src/translate/gcc/config-lang.in38
-rw-r--r--src/translate/gcc/dist-common.sh337
-rwxr-xr-xsrc/translate/gcc/dist.sh471
-rw-r--r--src/translate/gcc/lang-options.h29
-rw-r--r--src/translate/gcc/lang-specs.h28
-rw-r--r--src/translate/mcode/Makefile.in54
-rw-r--r--src/translate/mcode/README47
-rwxr-xr-xsrc/translate/mcode/dist.sh506
-rw-r--r--src/translate/mcode/winbuild.bat18
-rw-r--r--src/translate/mcode/windows/compile.bat24
-rw-r--r--src/translate/mcode/windows/complib.bat68
-rw-r--r--src/translate/mcode/windows/default_pathes.ads8
-rw-r--r--src/translate/mcode/windows/ghdl.nsi455
-rw-r--r--src/translate/mcode/windows/ghdlfilter.adb58
-rwxr-xr-xsrc/translate/mcode/windows/ghdlversion.adb30
-rw-r--r--src/translate/mcode/windows/grt-modules.adb37
-rw-r--r--src/translate/mcode/windows/ortho_code-x86-flags.ads2
-rw-r--r--src/translate/mcode/windows/windows_default_path.adb45
-rw-r--r--src/translate/mcode/windows/windows_default_path.ads5
158 files changed, 0 insertions, 2881 deletions
diff --git a/src/translate/ghdldrv/Makefile b/src/ghdldrv/Makefile
index ebf23c2..ebf23c2 100644
--- a/src/translate/ghdldrv/Makefile
+++ b/src/ghdldrv/Makefile
diff --git a/src/translate/ghdldrv/default_pathes.ads.in b/src/ghdldrv/default_pathes.ads.in
index 7f471a5..7f471a5 100644
--- a/src/translate/ghdldrv/default_pathes.ads.in
+++ b/src/ghdldrv/default_pathes.ads.in
diff --git a/src/translate/ghdldrv/foreigns.adb b/src/ghdldrv/foreigns.adb
index 15e3dd0..15e3dd0 100644
--- a/src/translate/ghdldrv/foreigns.adb
+++ b/src/ghdldrv/foreigns.adb
diff --git a/src/translate/ghdldrv/foreigns.ads b/src/ghdldrv/foreigns.ads
index 5759ae4..5759ae4 100644
--- a/src/translate/ghdldrv/foreigns.ads
+++ b/src/ghdldrv/foreigns.ads
diff --git a/src/translate/ghdldrv/ghdl_gcc.adb b/src/ghdldrv/ghdl_gcc.adb
index 615a8c5..615a8c5 100644
--- a/src/translate/ghdldrv/ghdl_gcc.adb
+++ b/src/ghdldrv/ghdl_gcc.adb
diff --git a/src/translate/ghdldrv/ghdl_jit.adb b/src/ghdldrv/ghdl_jit.adb
index ba70874..ba70874 100644
--- a/src/translate/ghdldrv/ghdl_jit.adb
+++ b/src/ghdldrv/ghdl_jit.adb
diff --git a/src/translate/ghdldrv/ghdl_simul.adb b/src/ghdldrv/ghdl_simul.adb
index d4d0abd..d4d0abd 100644
--- a/src/translate/ghdldrv/ghdl_simul.adb
+++ b/src/ghdldrv/ghdl_simul.adb
diff --git a/src/translate/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb
index ba755af..ba755af 100644
--- a/src/translate/ghdldrv/ghdlcomp.adb
+++ b/src/ghdldrv/ghdlcomp.adb
diff --git a/src/translate/ghdldrv/ghdlcomp.ads b/src/ghdldrv/ghdlcomp.ads
index f803ca4..f803ca4 100644
--- a/src/translate/ghdldrv/ghdlcomp.ads
+++ b/src/ghdldrv/ghdlcomp.ads
diff --git a/src/translate/ghdldrv/ghdldrv.adb b/src/ghdldrv/ghdldrv.adb
index be905f1..be905f1 100644
--- a/src/translate/ghdldrv/ghdldrv.adb
+++ b/src/ghdldrv/ghdldrv.adb
diff --git a/src/translate/ghdldrv/ghdldrv.ads b/src/ghdldrv/ghdldrv.ads
index 3e37b38..3e37b38 100644
--- a/src/translate/ghdldrv/ghdldrv.ads
+++ b/src/ghdldrv/ghdldrv.ads
diff --git a/src/translate/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index a1d94bd..a1d94bd 100644
--- a/src/translate/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
diff --git a/src/translate/ghdldrv/ghdllocal.ads b/src/ghdldrv/ghdllocal.ads
index 2c7018a..2c7018a 100644
--- a/src/translate/ghdldrv/ghdllocal.ads
+++ b/src/ghdldrv/ghdllocal.ads
diff --git a/src/translate/ghdldrv/ghdlmain.adb b/src/ghdldrv/ghdlmain.adb
index 45d9615..45d9615 100644
--- a/src/translate/ghdldrv/ghdlmain.adb
+++ b/src/ghdldrv/ghdlmain.adb
diff --git a/src/translate/ghdldrv/ghdlmain.ads b/src/ghdldrv/ghdlmain.ads
index c01f1d6..c01f1d6 100644
--- a/src/translate/ghdldrv/ghdlmain.ads
+++ b/src/ghdldrv/ghdlmain.ads
diff --git a/src/translate/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 45e70e1..45e70e1 100644
--- a/src/translate/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
diff --git a/src/translate/ghdldrv/ghdlprint.ads b/src/ghdldrv/ghdlprint.ads
index 82c3e60..82c3e60 100644
--- a/src/translate/ghdldrv/ghdlprint.ads
+++ b/src/ghdldrv/ghdlprint.ads
diff --git a/src/translate/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb
index f623721..f623721 100644
--- a/src/translate/ghdldrv/ghdlrun.adb
+++ b/src/ghdldrv/ghdlrun.adb
diff --git a/src/translate/ghdldrv/ghdlrun.ads b/src/ghdldrv/ghdlrun.ads
index 07095bd..07095bd 100644
--- a/src/translate/ghdldrv/ghdlrun.ads
+++ b/src/ghdldrv/ghdlrun.ads
diff --git a/src/translate/ghdldrv/ghdlsimul.adb b/src/ghdldrv/ghdlsimul.adb
index 17cece7..17cece7 100644
--- a/src/translate/ghdldrv/ghdlsimul.adb
+++ b/src/ghdldrv/ghdlsimul.adb
diff --git a/src/translate/ghdldrv/ghdlsimul.ads b/src/ghdldrv/ghdlsimul.ads
index 264cbf8..264cbf8 100644
--- a/src/translate/ghdldrv/ghdlsimul.ads
+++ b/src/ghdldrv/ghdlsimul.ads
diff --git a/src/translate/ghdldrv/grtlink.ads b/src/ghdldrv/grtlink.ads
index 4b3951e..4b3951e 100644
--- a/src/translate/ghdldrv/grtlink.ads
+++ b/src/ghdldrv/grtlink.ads
diff --git a/src/translate/grt/Makefile b/src/grt/Makefile
index 107aef7..107aef7 100644
--- a/src/translate/grt/Makefile
+++ b/src/grt/Makefile
diff --git a/src/translate/grt/Makefile.inc b/src/grt/Makefile.inc
index ec1b0df..ec1b0df 100644
--- a/src/translate/grt/Makefile.inc
+++ b/src/grt/Makefile.inc
diff --git a/src/translate/grt/config/Makefile b/src/grt/config/Makefile
index 7d5f57d..7d5f57d 100644
--- a/src/translate/grt/config/Makefile
+++ b/src/grt/config/Makefile
diff --git a/src/translate/grt/config/amd64.S b/src/grt/config/amd64.S
index 0a7f004..0a7f004 100644
--- a/src/translate/grt/config/amd64.S
+++ b/src/grt/config/amd64.S
diff --git a/src/translate/grt/config/chkstk.S b/src/grt/config/chkstk.S
index ab244d0..ab244d0 100644
--- a/src/translate/grt/config/chkstk.S
+++ b/src/grt/config/chkstk.S
diff --git a/src/translate/grt/config/clock.c b/src/grt/config/clock.c
index 242af60..242af60 100644
--- a/src/translate/grt/config/clock.c
+++ b/src/grt/config/clock.c
diff --git a/src/translate/grt/config/i386.S b/src/grt/config/i386.S
index 00d4719..00d4719 100644
--- a/src/translate/grt/config/i386.S
+++ b/src/grt/config/i386.S
diff --git a/src/translate/grt/config/ia64.S b/src/grt/config/ia64.S
index 9ce3800..9ce3800 100644
--- a/src/translate/grt/config/ia64.S
+++ b/src/grt/config/ia64.S
diff --git a/src/translate/grt/config/linux.c b/src/grt/config/linux.c
index 74dce09..74dce09 100644
--- a/src/translate/grt/config/linux.c
+++ b/src/grt/config/linux.c
diff --git a/src/translate/grt/config/ppc.S b/src/grt/config/ppc.S
index bedd48a..bedd48a 100644
--- a/src/translate/grt/config/ppc.S
+++ b/src/grt/config/ppc.S
diff --git a/src/translate/grt/config/pthread.c b/src/grt/config/pthread.c
index 189ae90..189ae90 100644
--- a/src/translate/grt/config/pthread.c
+++ b/src/grt/config/pthread.c
diff --git a/src/translate/grt/config/sparc.S b/src/grt/config/sparc.S
index 0ffe412..0ffe412 100644
--- a/src/translate/grt/config/sparc.S
+++ b/src/grt/config/sparc.S
diff --git a/src/translate/grt/config/teststack.c b/src/grt/config/teststack.c
index 6a6966d..6a6966d 100644
--- a/src/translate/grt/config/teststack.c
+++ b/src/grt/config/teststack.c
diff --git a/src/translate/grt/config/times.c b/src/grt/config/times.c
index 9c0b4eb..9c0b4eb 100644
--- a/src/translate/grt/config/times.c
+++ b/src/grt/config/times.c
diff --git a/src/translate/grt/config/win32.c b/src/grt/config/win32.c
index 35322ba..35322ba 100644
--- a/src/translate/grt/config/win32.c
+++ b/src/grt/config/win32.c
diff --git a/src/translate/grt/config/win32thr.c b/src/grt/config/win32thr.c
index bcebc49..bcebc49 100644
--- a/src/translate/grt/config/win32thr.c
+++ b/src/grt/config/win32thr.c
diff --git a/src/translate/grt/ghdl_main.adb b/src/grt/ghdl_main.adb
index ce5b67d..ce5b67d 100644
--- a/src/translate/grt/ghdl_main.adb
+++ b/src/grt/ghdl_main.adb
diff --git a/src/translate/grt/ghdl_main.ads b/src/grt/ghdl_main.ads
index 88d181a..88d181a 100644
--- a/src/translate/grt/ghdl_main.ads
+++ b/src/grt/ghdl_main.ads
diff --git a/src/translate/grt/ghwdump.c b/src/grt/ghwdump.c
index 4affc2b..4affc2b 100644
--- a/src/translate/grt/ghwdump.c
+++ b/src/grt/ghwdump.c
diff --git a/src/translate/grt/ghwlib.c b/src/grt/ghwlib.c
index 2db63d9..2db63d9 100644
--- a/src/translate/grt/ghwlib.c
+++ b/src/grt/ghwlib.c
diff --git a/src/translate/grt/ghwlib.h b/src/grt/ghwlib.h
index 0138267..0138267 100644
--- a/src/translate/grt/ghwlib.h
+++ b/src/grt/ghwlib.h
diff --git a/src/translate/grt/grt-arch.ads b/src/grt/grt-arch.ads
index 5f5aa0e..5f5aa0e 100644
--- a/src/translate/grt/grt-arch.ads
+++ b/src/grt/grt-arch.ads
diff --git a/src/translate/grt/grt-arch_none.adb b/src/grt/grt-arch_none.adb
index 14db1c7..14db1c7 100644
--- a/src/translate/grt/grt-arch_none.adb
+++ b/src/grt/grt-arch_none.adb
diff --git a/src/translate/grt/grt-arch_none.ads b/src/grt/grt-arch_none.ads
index f8ae437..f8ae437 100644
--- a/src/translate/grt/grt-arch_none.ads
+++ b/src/grt/grt-arch_none.ads
diff --git a/src/translate/grt/grt-astdio.adb b/src/grt/grt-astdio.adb
index 456d024..456d024 100644
--- a/src/translate/grt/grt-astdio.adb
+++ b/src/grt/grt-astdio.adb
diff --git a/src/translate/grt/grt-astdio.ads b/src/grt/grt-astdio.ads
index 8e8b739..8e8b739 100644
--- a/src/translate/grt/grt-astdio.ads
+++ b/src/grt/grt-astdio.ads
diff --git a/src/translate/grt/grt-avhpi.adb b/src/grt/grt-avhpi.adb
index b935fd9..b935fd9 100644
--- a/src/translate/grt/grt-avhpi.adb
+++ b/src/grt/grt-avhpi.adb
diff --git a/src/translate/grt/grt-avhpi.ads b/src/grt/grt-avhpi.ads
index 1eff5a8..1eff5a8 100644
--- a/src/translate/grt/grt-avhpi.ads
+++ b/src/grt/grt-avhpi.ads
diff --git a/src/translate/grt/grt-avls.adb b/src/grt/grt-avls.adb
index 7f13ed3..7f13ed3 100644
--- a/src/translate/grt/grt-avls.adb
+++ b/src/grt/grt-avls.adb
diff --git a/src/translate/grt/grt-avls.ads b/src/grt/grt-avls.ads
index 790053c..790053c 100644
--- a/src/translate/grt/grt-avls.ads
+++ b/src/grt/grt-avls.ads
diff --git a/src/translate/grt/grt-c.ads b/src/grt/grt-c.ads
index 24003cf..24003cf 100644
--- a/src/translate/grt/grt-c.ads
+++ b/src/grt/grt-c.ads
diff --git a/src/translate/grt/grt-cbinding.c b/src/grt/grt-cbinding.c
index b95c0f0..b95c0f0 100644
--- a/src/translate/grt/grt-cbinding.c
+++ b/src/grt/grt-cbinding.c
diff --git a/src/translate/grt/grt-cvpi.c b/src/grt/grt-cvpi.c
index 51edd67..51edd67 100644
--- a/src/translate/grt/grt-cvpi.c
+++ b/src/grt/grt-cvpi.c
diff --git a/src/translate/grt/grt-disp.adb b/src/grt/grt-disp.adb
index e68b116..e68b116 100644
--- a/src/translate/grt/grt-disp.adb
+++ b/src/grt/grt-disp.adb
diff --git a/src/translate/grt/grt-disp.ads b/src/grt/grt-disp.ads
index 6c15b37..6c15b37 100644
--- a/src/translate/grt/grt-disp.ads
+++ b/src/grt/grt-disp.ads
diff --git a/src/translate/grt/grt-disp_rti.adb b/src/grt/grt-disp_rti.adb
index 08d27da..08d27da 100644
--- a/src/translate/grt/grt-disp_rti.adb
+++ b/src/grt/grt-disp_rti.adb
diff --git a/src/translate/grt/grt-disp_rti.ads b/src/grt/grt-disp_rti.ads
index 6033d20..6033d20 100644
--- a/src/translate/grt/grt-disp_rti.ads
+++ b/src/grt/grt-disp_rti.ads
diff --git a/src/translate/grt/grt-disp_signals.adb b/src/grt/grt-disp_signals.adb
index 424d20d..424d20d 100644
--- a/src/translate/grt/grt-disp_signals.adb
+++ b/src/grt/grt-disp_signals.adb
diff --git a/src/translate/grt/grt-disp_signals.ads b/src/grt/grt-disp_signals.ads
index 73bd60d..73bd60d 100644
--- a/src/translate/grt/grt-disp_signals.ads
+++ b/src/grt/grt-disp_signals.ads
diff --git a/src/translate/grt/grt-disp_tree.adb b/src/grt/grt-disp_tree.adb
index 7d58119..7d58119 100644
--- a/src/translate/grt/grt-disp_tree.adb
+++ b/src/grt/grt-disp_tree.adb
diff --git a/src/translate/grt/grt-disp_tree.ads b/src/grt/grt-disp_tree.ads
index e3bc983..e3bc983 100644
--- a/src/translate/grt/grt-disp_tree.ads
+++ b/src/grt/grt-disp_tree.ads
diff --git a/src/translate/grt/grt-errors.adb b/src/grt/grt-errors.adb
index eddea38..eddea38 100644
--- a/src/translate/grt/grt-errors.adb
+++ b/src/grt/grt-errors.adb
diff --git a/src/translate/grt/grt-errors.ads b/src/grt/grt-errors.ads
index c797a71..c797a71 100644
--- a/src/translate/grt/grt-errors.ads
+++ b/src/grt/grt-errors.ads
diff --git a/src/translate/grt/grt-files.adb b/src/grt/grt-files.adb
index 30d51cf..30d51cf 100644
--- a/src/translate/grt/grt-files.adb
+++ b/src/grt/grt-files.adb
diff --git a/src/translate/grt/grt-files.ads b/src/grt/grt-files.ads
index 14f9984..14f9984 100644
--- a/src/translate/grt/grt-files.ads
+++ b/src/grt/grt-files.ads
diff --git a/src/translate/grt/grt-hooks.adb b/src/grt/grt-hooks.adb
index 6a77aaf..6a77aaf 100644
--- a/src/translate/grt/grt-hooks.adb
+++ b/src/grt/grt-hooks.adb
diff --git a/src/translate/grt/grt-hooks.ads b/src/grt/grt-hooks.ads
index 20846c7..20846c7 100644
--- a/src/translate/grt/grt-hooks.ads
+++ b/src/grt/grt-hooks.ads
diff --git a/src/translate/grt/grt-images.adb b/src/grt/grt-images.adb
index 342c98f..342c98f 100644
--- a/src/translate/grt/grt-images.adb
+++ b/src/grt/grt-images.adb
diff --git a/src/translate/grt/grt-images.ads b/src/grt/grt-images.ads
index cd89110..cd89110 100644
--- a/src/translate/grt/grt-images.ads
+++ b/src/grt/grt-images.ads
diff --git a/src/translate/grt/grt-lib.adb b/src/grt/grt-lib.adb
index d2b095c..d2b095c 100644
--- a/src/translate/grt/grt-lib.adb
+++ b/src/grt/grt-lib.adb
diff --git a/src/translate/grt/grt-lib.ads b/src/grt/grt-lib.ads
index 4dac2c8..4dac2c8 100644
--- a/src/translate/grt/grt-lib.ads
+++ b/src/grt/grt-lib.ads
diff --git a/src/translate/grt/grt-main.adb b/src/grt/grt-main.adb
index 116ea7b..116ea7b 100644
--- a/src/translate/grt/grt-main.adb
+++ b/src/grt/grt-main.adb
diff --git a/src/translate/grt/grt-main.ads b/src/grt/grt-main.ads
index 4f78477..4f78477 100644
--- a/src/translate/grt/grt-main.ads
+++ b/src/grt/grt-main.ads
diff --git a/src/translate/grt/grt-modules.adb b/src/grt/grt-modules.adb
index e5304f0..e5304f0 100644
--- a/src/translate/grt/grt-modules.adb
+++ b/src/grt/grt-modules.adb
diff --git a/src/translate/grt/grt-modules.ads b/src/grt/grt-modules.ads
index 23c7d6e..23c7d6e 100644
--- a/src/translate/grt/grt-modules.ads
+++ b/src/grt/grt-modules.ads
diff --git a/src/translate/grt/grt-names.adb b/src/grt/grt-names.adb
index e7928f7..e7928f7 100644
--- a/src/translate/grt/grt-names.adb
+++ b/src/grt/grt-names.adb
diff --git a/src/translate/grt/grt-names.ads b/src/grt/grt-names.ads
index e0c2842..e0c2842 100644
--- a/src/translate/grt/grt-names.ads
+++ b/src/grt/grt-names.ads
diff --git a/src/translate/grt/grt-options.adb b/src/grt/grt-options.adb
index df1eb4e..df1eb4e 100644
--- a/src/translate/grt/grt-options.adb
+++ b/src/grt/grt-options.adb
diff --git a/src/translate/grt/grt-options.ads b/src/grt/grt-options.ads
index 88b1f50..88b1f50 100644
--- a/src/translate/grt/grt-options.ads
+++ b/src/grt/grt-options.ads
diff --git a/src/translate/grt/grt-processes.adb b/src/grt/grt-processes.adb
index 64db682..64db682 100644
--- a/src/translate/grt/grt-processes.adb
+++ b/src/grt/grt-processes.adb
diff --git a/src/translate/grt/grt-processes.ads b/src/grt/grt-processes.ads
index 22326eb..22326eb 100644
--- a/src/translate/grt/grt-processes.ads
+++ b/src/grt/grt-processes.ads
diff --git a/src/translate/grt/grt-readline.ads b/src/grt/grt-readline.ads
index 1a30839..1a30839 100644
--- a/src/translate/grt/grt-readline.ads
+++ b/src/grt/grt-readline.ads
diff --git a/src/translate/grt/grt-rtis.adb b/src/grt/grt-rtis.adb
index 26d9764..26d9764 100644
--- a/src/translate/grt/grt-rtis.adb
+++ b/src/grt/grt-rtis.adb
diff --git a/src/translate/grt/grt-rtis.ads b/src/grt/grt-rtis.ads
index 6bb7659..6bb7659 100644
--- a/src/translate/grt/grt-rtis.ads
+++ b/src/grt/grt-rtis.ads
diff --git a/src/translate/grt/grt-rtis_addr.adb b/src/grt/grt-rtis_addr.adb
index 70a0e21..70a0e21 100644
--- a/src/translate/grt/grt-rtis_addr.adb
+++ b/src/grt/grt-rtis_addr.adb
diff --git a/src/translate/grt/grt-rtis_addr.ads b/src/grt/grt-rtis_addr.ads
index 3fa2792..3fa2792 100644
--- a/src/translate/grt/grt-rtis_addr.ads
+++ b/src/grt/grt-rtis_addr.ads
diff --git a/src/translate/grt/grt-rtis_binding.ads b/src/grt/grt-rtis_binding.ads
index 7e90eea..7e90eea 100644
--- a/src/translate/grt/grt-rtis_binding.ads
+++ b/src/grt/grt-rtis_binding.ads
diff --git a/src/translate/grt/grt-rtis_types.adb b/src/grt/grt-rtis_types.adb
index f22a309..f22a309 100644
--- a/src/translate/grt/grt-rtis_types.adb
+++ b/src/grt/grt-rtis_types.adb
diff --git a/src/translate/grt/grt-rtis_types.ads b/src/grt/grt-rtis_types.ads
index f64b173..f64b173 100644
--- a/src/translate/grt/grt-rtis_types.ads
+++ b/src/grt/grt-rtis_types.ads
diff --git a/src/translate/grt/grt-rtis_utils.adb b/src/grt/grt-rtis_utils.adb
index 0d4328e..0d4328e 100644
--- a/src/translate/grt/grt-rtis_utils.adb
+++ b/src/grt/grt-rtis_utils.adb
diff --git a/src/translate/grt/grt-rtis_utils.ads b/src/grt/grt-rtis_utils.ads
index 10c1a0f..10c1a0f 100644
--- a/src/translate/grt/grt-rtis_utils.ads
+++ b/src/grt/grt-rtis_utils.ads
diff --git a/src/translate/grt/grt-sdf.adb b/src/grt/grt-sdf.adb
index 73534e3..73534e3 100644
--- a/src/translate/grt/grt-sdf.adb
+++ b/src/grt/grt-sdf.adb
diff --git a/src/translate/grt/grt-sdf.ads b/src/grt/grt-sdf.ads
index fd05b9e..fd05b9e 100644
--- a/src/translate/grt/grt-sdf.ads
+++ b/src/grt/grt-sdf.ads
diff --git a/src/translate/grt/grt-shadow_ieee.adb b/src/grt/grt-shadow_ieee.adb
index 32af4be..32af4be 100644
--- a/src/translate/grt/grt-shadow_ieee.adb
+++ b/src/grt/grt-shadow_ieee.adb
diff --git a/src/translate/grt/grt-shadow_ieee.ads b/src/grt/grt-shadow_ieee.ads
index f12b479..f12b479 100644
--- a/src/translate/grt/grt-shadow_ieee.ads
+++ b/src/grt/grt-shadow_ieee.ads
diff --git a/src/translate/grt/grt-signals.adb b/src/grt/grt-signals.adb
index 9698d81..9698d81 100644
--- a/src/translate/grt/grt-signals.adb
+++ b/src/grt/grt-signals.adb
diff --git a/src/translate/grt/grt-signals.ads b/src/grt/grt-signals.ads
index d792f16..d792f16 100644
--- a/src/translate/grt/grt-signals.ads
+++ b/src/grt/grt-signals.ads
diff --git a/src/translate/grt/grt-stack2.adb b/src/grt/grt-stack2.adb
index 82341d0..82341d0 100644
--- a/src/translate/grt/grt-stack2.adb
+++ b/src/grt/grt-stack2.adb
diff --git a/src/translate/grt/grt-stack2.ads b/src/grt/grt-stack2.ads
index b3de6b7..b3de6b7 100644
--- a/src/translate/grt/grt-stack2.ads
+++ b/src/grt/grt-stack2.ads
diff --git a/src/translate/grt/grt-stacks.adb b/src/grt/grt-stacks.adb
index adb008d..adb008d 100644
--- a/src/translate/grt/grt-stacks.adb
+++ b/src/grt/grt-stacks.adb
diff --git a/src/translate/grt/grt-stacks.ads b/src/grt/grt-stacks.ads
index dd94340..dd94340 100644
--- a/src/translate/grt/grt-stacks.ads
+++ b/src/grt/grt-stacks.ads
diff --git a/src/translate/grt/grt-stats.adb b/src/grt/grt-stats.adb
index 5bc046d..5bc046d 100644
--- a/src/translate/grt/grt-stats.adb
+++ b/src/grt/grt-stats.adb
diff --git a/src/translate/grt/grt-stats.ads b/src/grt/grt-stats.ads
index 6f60261..6f60261 100644
--- a/src/translate/grt/grt-stats.ads
+++ b/src/grt/grt-stats.ads
diff --git a/src/translate/grt/grt-std_logic_1164.adb b/src/grt/grt-std_logic_1164.adb
index 5be308b..5be308b 100644
--- a/src/translate/grt/grt-std_logic_1164.adb
+++ b/src/grt/grt-std_logic_1164.adb
diff --git a/src/translate/grt/grt-std_logic_1164.ads b/src/grt/grt-std_logic_1164.ads
index 4d15695..4d15695 100644
--- a/src/translate/grt/grt-std_logic_1164.ads
+++ b/src/grt/grt-std_logic_1164.ads
diff --git a/src/translate/grt/grt-stdio.ads b/src/grt/grt-stdio.ads
index 229249a..229249a 100644
--- a/src/translate/grt/grt-stdio.ads
+++ b/src/grt/grt-stdio.ads
diff --git a/src/translate/grt/grt-table.adb b/src/grt/grt-table.adb
index 36aa999..36aa999 100644
--- a/src/translate/grt/grt-table.adb
+++ b/src/grt/grt-table.adb
diff --git a/src/translate/grt/grt-table.ads b/src/grt/grt-table.ads
index f814eff..f814eff 100644
--- a/src/translate/grt/grt-table.ads
+++ b/src/grt/grt-table.ads
diff --git a/src/translate/grt/grt-threads.ads b/src/grt/grt-threads.ads
index 248f2c4..248f2c4 100644
--- a/src/translate/grt/grt-threads.ads
+++ b/src/grt/grt-threads.ads
diff --git a/src/translate/grt/grt-types.ads b/src/grt/grt-types.ads
index fed8225..fed8225 100644
--- a/src/translate/grt/grt-types.ads
+++ b/src/grt/grt-types.ads
diff --git a/src/translate/grt/grt-unithread.adb b/src/grt/grt-unithread.adb
index 6acb521..6acb521 100644
--- a/src/translate/grt/grt-unithread.adb
+++ b/src/grt/grt-unithread.adb
diff --git a/src/translate/grt/grt-unithread.ads b/src/grt/grt-unithread.ads
index b35b7be..b35b7be 100644
--- a/src/translate/grt/grt-unithread.ads
+++ b/src/grt/grt-unithread.ads
diff --git a/src/translate/grt/grt-values.adb b/src/grt/grt-values.adb
index 3d703bc..3d703bc 100644
--- a/src/translate/grt/grt-values.adb
+++ b/src/grt/grt-values.adb
diff --git a/src/translate/grt/grt-values.ads b/src/grt/grt-values.ads
index 8df8c3f..8df8c3f 100644
--- a/src/translate/grt/grt-values.ads
+++ b/src/grt/grt-values.ads
diff --git a/src/translate/grt/grt-vcd.adb b/src/grt/grt-vcd.adb
index d4a9ea0..d4a9ea0 100644
--- a/src/translate/grt/grt-vcd.adb
+++ b/src/grt/grt-vcd.adb
diff --git a/src/translate/grt/grt-vcd.ads b/src/grt/grt-vcd.ads
index ed015af..ed015af 100644
--- a/src/translate/grt/grt-vcd.ads
+++ b/src/grt/grt-vcd.ads
diff --git a/src/translate/grt/grt-vcdz.adb b/src/grt/grt-vcdz.adb
index 8e1ceb6..8e1ceb6 100644
--- a/src/translate/grt/grt-vcdz.adb
+++ b/src/grt/grt-vcdz.adb
diff --git a/src/translate/grt/grt-vcdz.ads b/src/grt/grt-vcdz.ads
index aba61c2..aba61c2 100644
--- a/src/translate/grt/grt-vcdz.ads
+++ b/src/grt/grt-vcdz.ads
diff --git a/src/translate/grt/grt-vital_annotate.adb b/src/grt/grt-vital_annotate.adb
index 93ecb81..93ecb81 100644
--- a/src/translate/grt/grt-vital_annotate.adb
+++ b/src/grt/grt-vital_annotate.adb
diff --git a/src/translate/grt/grt-vital_annotate.ads b/src/grt/grt-vital_annotate.ads
index acf82bb..acf82bb 100644
--- a/src/translate/grt/grt-vital_annotate.ads
+++ b/src/grt/grt-vital_annotate.ads
diff --git a/src/translate/grt/grt-vpi.adb b/src/grt/grt-vpi.adb
index 9b77319..9b77319 100644
--- a/src/translate/grt/grt-vpi.adb
+++ b/src/grt/grt-vpi.adb
diff --git a/src/translate/grt/grt-vpi.ads b/src/grt/grt-vpi.ads
index 86fb073..86fb073 100644
--- a/src/translate/grt/grt-vpi.ads
+++ b/src/grt/grt-vpi.ads
diff --git a/src/translate/grt/grt-vstrings.adb b/src/grt/grt-vstrings.adb
index 30c58ab..30c58ab 100644
--- a/src/translate/grt/grt-vstrings.adb
+++ b/src/grt/grt-vstrings.adb
diff --git a/src/translate/grt/grt-vstrings.ads b/src/grt/grt-vstrings.ads
index 94967bb..94967bb 100644
--- a/src/translate/grt/grt-vstrings.ads
+++ b/src/grt/grt-vstrings.ads
diff --git a/src/translate/grt/grt-waves.adb b/src/grt/grt-waves.adb
index 63bdb9a..63bdb9a 100644
--- a/src/translate/grt/grt-waves.adb
+++ b/src/grt/grt-waves.adb
diff --git a/src/translate/grt/grt-waves.ads b/src/grt/grt-waves.ads
index 72d7ea6..72d7ea6 100644
--- a/src/translate/grt/grt-waves.ads
+++ b/src/grt/grt-waves.ads
diff --git a/src/translate/grt/grt-zlib.ads b/src/grt/grt-zlib.ads
index 9dfee36..9dfee36 100644
--- a/src/translate/grt/grt-zlib.ads
+++ b/src/grt/grt-zlib.ads
diff --git a/src/translate/grt/grt.adc b/src/grt/grt.adc
index f228499..f228499 100644
--- a/src/translate/grt/grt.adc
+++ b/src/grt/grt.adc
diff --git a/src/translate/grt/grt.ads b/src/grt/grt.ads
index 9727d04..9727d04 100644
--- a/src/translate/grt/grt.ads
+++ b/src/grt/grt.ads
diff --git a/src/translate/grt/grt.ver b/src/grt/grt.ver
index 031c207..031c207 100644
--- a/src/translate/grt/grt.ver
+++ b/src/grt/grt.ver
diff --git a/src/translate/grt/main.adb b/src/grt/main.adb
index 5de3794..5de3794 100644
--- a/src/translate/grt/main.adb
+++ b/src/grt/main.adb
diff --git a/src/translate/grt/main.ads b/src/grt/main.ads
index f7c4142..f7c4142 100644
--- a/src/translate/grt/main.ads
+++ b/src/grt/main.ads
diff --git a/src/translate/gcc/ANNOUNCE b/src/translate/gcc/ANNOUNCE
deleted file mode 100644
index 7b1060e..0000000
--- a/src/translate/gcc/ANNOUNCE
+++ /dev/null
@@ -1,21 +0,0 @@
-I am happy to introduce GHDL.
-
-GHDL is a GCC front-end for the VHDL (IEEE 1076) language, an hardware design
-language.
-
-Currently, GHDL implements most of VHDL-1987 and some features of
-VHDL-1993. It is mature enough to compile and run some complex design (such
-as a DLX processor and leon1, a SPARCv7 processor)
-
-GHDL has been developped on a GNU/Linux x86 system, and only this configuration
-has been tested (porting to other processor or system should not be an hard
-task, but there are system dependent files in the run time).
-
-GHDL is written in Ada95 (using GNAT) and relies on agcc, an Ada
-binding for GCC. It also includes a run-time library (written in Ada), named
-grt. The front-end and the library are both distributed under the GPL licence.
-
-For sources, binary tarballs, or for more information, go to
-http://ghdl.free.fr
-
-Tristan Gingold.
diff --git a/src/translate/gcc/INSTALL b/src/translate/gcc/INSTALL
deleted file mode 100644
index e710f91..0000000
--- a/src/translate/gcc/INSTALL
+++ /dev/null
@@ -1,24 +0,0 @@
-Install file for the binary distribution of GHDL.
-
-GHDL is Copyright 2002 - 2010 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
-(at your option) any later version.
-
-The binary are installed in /usr/local directory. You cannot change this
-default location, unless you set links.
-
-You must be root to install this distribution.
-
-To install ghdl:
-$ su
-# tar -C / -jxvf @TARFILE@.tar.bz2
-
-Note: you must also have a C compiler and zlib installed.
-
-There is a mailing list for any questions. You can subscribe via:
- https://mail.gna.org/listinfo/ghdl-discuss/
-
-Tristan Gingold.
-
diff --git a/src/translate/gcc/Make-lang.in b/src/translate/gcc/Make-lang.in
deleted file mode 100644
index cde3e6c..0000000
--- a/src/translate/gcc/Make-lang.in
+++ /dev/null
@@ -1,190 +0,0 @@
-# Top level -*- makefile -*- fragment for vhdl (GHDL).
-# Copyright (C) 2002
-# Free Software Foundation, Inc.
-
-#This file is part of GNU CC.
-
-#GNU CC 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, or (at your option)
-#any later version.
-
-#GNU CC is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#GNU General Public License for more details.
-
-#You should have received a copy of the GNU General Public License
-#along with GNU CC; see the file COPYING. If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
-
-# This file provides the language dependent support in the main Makefile.
-# Each language makefile fragment must provide the following targets:
-#
-# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
-# foo.info, foo.dvi,
-# foo.install-normal, foo.install-common, foo.install-info, foo.install-man,
-# foo.uninstall, foo.mostlyclean, foo.clean, foo.distclean, foo.extraclean,
-# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
-#
-# where `foo' is the name of the language.
-#
-# It should also provide rules for:
-#
-# - making any compiler driver (eg: g++)
-# - the compiler proper (eg: cc1plus)
-# - define the names for selecting the language in LANGUAGES.
-# tool definitions
-MV = mv
-RM = rm -f
-
-# Extra flags to pass to recursive makes.
-GHDL_ADAFLAGS= -Wall -gnata
-VHDL_LIB_DIR=$(libsubdir)/vhdl
-GNATBIND = gnatbind
-GNATMAKE = gnatmake
-VHDL_FLAGS_TO_PASS = \
- "GHDL_ADAFLAGS=$(GHDL_ADAFLAGS)" \
- "GNATMAKE=$(GNATMAKE)" \
- "GNATBIND=$(GNATBIND)" \
- "CFLAGS=$(CFLAGS)" \
- "VHDL_LIB_DIR=$(VHDL_LIB_DIR)" \
- "INSTALL_DATA=$(INSTALL_DATA)" \
- "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
- "libexecsubdir=$(libexecsubdir)"
-
-MAKE_IN_VHDL=$(MAKE) -C vhdl $(FLAGS_TO_PASS) $(VHDL_FLAGS_TO_PASS)
-
-# Define the names for selecting vhdl in LANGUAGES.
-vhdl VHDL: ghdl1$(exeext) ghdl$(exeext) ghdllib
-
-# Tell GNU Make to ignore these, if they exist.
-.PHONY: vhdl VHDL ghdllib
-
-#ortho-lang.o: $(agcc_srcdir)/ortho-lang.c \
-# $(AGCC_GCCOBJ_DIR)gcc/gtype-vhdl.h \
-# $(AGCC_GCCOBJ_DIR)gcc/gt-vhdl-ortho-lang.h
-# $(COMPILER) -c -o $@ $< $(AGCC_CFLAGS) $(INCLUDES)
-
-GHDL1_OBJS = attribs.o vhdl/ortho-lang.o
-
-# To be put in ALL_HOST_FRONTEND_OBJS, so that generated files are created
-# before.
-vhdl_OBJS=vhdl/ortho-lang.o
-
-# The compiler proper.
-# It is compiled into the vhdl/ subdirectory to avoid file name clashes but
-# linked in in gcc directory to be able to access to gcc object files.
-ghdl1$(exeext): force $(GHDL1_OBJS) $(BACKEND) $(LIBDEPS)
- CURDIR=`pwd`; cd $(srcdir)/vhdl; VHDLSRCDIR=`pwd`; cd $$CURDIR/vhdl; \
- $(GNATMAKE) -c -aI$$VHDLSRCDIR ortho_gcc-main \
- -cargs $(CFLAGS) $(GHDL_ADAFLAGS)
- $(GNATMAKE) -o $@ -aI$(srcdir)/vhdl -aOvhdl ortho_gcc-main \
- -bargs -E -cargs $(CFLAGS) $(GHDL_ADAFLAGS) \
- -largs --LINK=$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GHDL1_OBJS) \
- $(filter-out main.o,$(BACKEND)) $(LIBS) $(BACKENDLIBS)
-
-# The driver for ghdl.
-ghdl$(exeext): force
- $(MAKE_IN_VHDL) ../ghdl$(exeext)
-
-# Ghdl libraries.
-ghdllib: ghdl$(exeext) ghdl1$(exeext) $(GCC_PASSES) force
- $(MAKE_IN_VHDL) GRT_FLAGS="-O -g" $(FLAGS_TO_PASS) \
- ADAC=$(COMPILER_FOR_BUILD) ghdllib
-
-# Build hooks:
-
-vhdl.all.build:
-
-vhdl.all.cross:
- @echo "No support for building vhdl cross-compiler"
- exit 1
-
-vhdl.start.encap:
-vhdl.rest.encap:
-
-# Documentation hooks
-doc/ghdl.info: vhdl/ghdl.texi
- -rm -f doc/ghdl.info*
- $(MAKEINFO) $(MAKEINFOFLAGS) -o $@ $<
-
-doc/ghdl.dvi: vhdl/ghdl.texi
- $(TEXI2DVI) -o $@ $<
-
-vhdl.info: doc/ghdl.info
-
-vhdl.man:
-
-vhdl.dvi: doc/ghdl.dvi
-
-vhdl.generated-manpages:
-
-# Install hooks:
-# ghdl1 is installed elsewhere as part of $(COMPILERS).
-
-vhdl.install-normal:
-
-vhdl.install-plugin:
-
-# Install the driver program as ghdl.
-vhdl.install-common: ghdl$(exeext)
- -mkdir $(DESTDIR)$(bindir)
- -$(RM) $(DESTDIR)$(bindir)/ghdl$(exeext)
- $(INSTALL_PROGRAM) ghdl$(exeext) $(DESTDIR)$(bindir)/ghdl$(exeext)
-# Install the library
- $(MAKE_IN_VHDL) install-ghdllib
-
-install-info:: $(DESTDIR)$(infodir)/ghdl.info
-
-vhdl.install-info: doc/ghdl.info
- -rm -rf $(infodir)/ghdl.info*
- $(INSTALL_DATA) doc/ghdl.info* $(DESTDIR)$(infodir)
- -chmod a-x $(DESTDIR)$(infodir)/ghdl.info*
-
-install-ghdllib:
- $(MAKE) -f vhdl/Makefile $(FLAGS_TO_PASS) $(VHDL_FLAGS_TO_PASS) install-ghdllib
-
-vhdl.install-man: $(DESTDIR)$(man1dir)/ghdl$(man1ext)
-
-$(DESTDIR)$(man1dir)/ghdl$(man1ext): $(srcdir)/vhdl/ghdl.1
- -rm -f $@
- -$(INSTALL_DATA) $< $@
- -chmod a-x $@
-
-vhdl.uninstall:
- -$(RM) $(DESTDIR)$(bindir)/ghdl$(exeext)
-
-
-# Clean hooks:
-# A lot of the ancillary files are deleted by the main makefile.
-# We just have to delete files specific to us.
-
-vhdl.mostlyclean:
- -$(RM) vhdl/*$(objext) vhdl/*.ali vhdl/b_*.c
-vhdl.clean:
- -$(RM) vhdl/*$(objext)
-vhdl.distclean:
- -$(RM) vhdl/Makefile
- -$(RM) ghdl$(exeext)
-vhdl.extraclean:
-
-vhdl.maintainer-clean:
-
-
-# Stage hooks:
-# The main makefile has already created stage?/vhdl
-
-vhdl.stage1:
- -$(MV) vhdl/*$(objext) vhdl/*.ali vhdl/b_*.c stage1/vhdl
- -$(MV) vhdl/stamp-* stage1/vhdl
-vhdl.stage2:
- -$(MV) vhdl/*$(objext) vhdl/*.ali vhdl/b_*.c stage2/vhdl
- -$(MV) vhdl/stamp-* stage2/vhdl
-vhdl.stage3:
- -$(MV) vhdl/*$(objext) vhdl/*.ali vhdl/b_*.c stage3/vhdl
- -$(MV) vhdl/stamp-* stage3/vhdl
-vhdl.stage4:
- -$(MV) vhdl/*$(objext) vhdl/*.ali vhdl/b_*.c stage4/vhdl
- -$(MV) vhdl/stamp-* stage4/vhdl
diff --git a/src/translate/gcc/Makefile.in b/src/translate/gcc/Makefile.in
deleted file mode 100644
index 13f3296..0000000
--- a/src/translate/gcc/Makefile.in
+++ /dev/null
@@ -1,299 +0,0 @@
-# Makefile for GNU vhdl Compiler (GHDL).
-# Copyright (C) 2002 Free Software Foundation, Inc.
-
-#This file is part of GNU CC.
-
-#GNU CC 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, or (at your option)
-#any later version.
-
-#GNU CC is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#GNU General Public License for more details.
-
-#You should have received a copy of the GNU General Public License
-#along with GNU CC; see the file COPYING. If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
-
-# The makefile built from this file lives in the language subdirectory.
-# It's purpose is to provide support for:
-#
-# 1) recursion where necessary, and only then (building .o's), and
-# 2) building and debugging cc1 from the language subdirectory, and
-# 3) nothing else.
-#
-# The parent makefile handles all other chores, with help from the
-# language makefile fragment, of course.
-#
-# The targets for external use are:
-# all, TAGS, ???mostlyclean, ???clean.
-
-# This makefile will only work with Gnu make.
-# The rules are written assuming a minimum subset of tools are available:
-#
-# Required:
-# MAKE: Only Gnu make will work.
-# MV: Must accept (at least) one, maybe wildcard, source argument,
-# a file or directory destination, and support creation/
-# modification date preservation. Gnu mv -f works.
-# RM: Must accept an arbitrary number of space separated file
-# arguments, or one wildcard argument. Gnu rm works.
-# RMDIR: Must delete a directory and all its contents. Gnu rm -rf works.
-# ECHO: Must support command line redirection. Any Unix-like
-# shell will typically provide this, otherwise a custom version
-# is trivial to write.
-# LN: ln -s works, cp should work bu was not tested.
-# CP: GNU cp -p works.
-# AR: Gnu ar works.
-# MKDIR: Gnu mkdir works.
-# CHMOD: Gnu chmod works.
-# true: Does nothing and returns a normal successful return code.
-# pwd: Prints the current directory on stdout.
-# cd: Change directory.
-
-# Tell GNU make 3.79 not to run this directory in parallel.
-# Not all of the required dependencies are present.
-.NOTPARALLEL:
-
-# Variables that exist for you to override.
-# See below for how to change them for certain systems.
-
-ALLOCA =
-# Various ways of specifying flags for compilations:
-# CFLAGS is for the user to override to, e.g., do a bootstrap with -O2.
-# BOOT_CFLAGS is the value of CFLAGS to pass
-# to the stage2 and stage3 compilations
-# XCFLAGS is used for most compilations but not when using the GCC just built.
-XCFLAGS =
-CFLAGS = -g
-BOOT_CFLAGS = -O $(CFLAGS)
-# These exists to be overridden by the x-* and t-* files, respectively.
-X_CFLAGS =
-T_CFLAGS =
-
-X_CPPFLAGS =
-T_CPPFLAGS =
-
-X_ADAFLAGS =
-T_ADAFLAGS =
-
-ADAC = $(CC)
-
-ECHO = echo
-CHMOD = chmod
-CP = cp -p
-MV = mv -f
-RM = rm -f
-RMDIR = rm -rf
-MKDIR = mkdir -p
-LN = ln -s
-AR = ar
-# How to invoke ranlib.
-RANLIB = ranlib
-# Test to use to see whether ranlib exists on the system.
-RANLIB_TEST = [ -f /usr/bin/ranlib -o -f /bin/ranlib ]
-SHELL = /bin/sh
-INSTALL_DATA = install -m 644
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
-GNATBIND = gnatbind
-GNATMAKE = gnatmake
-ADA_CFLAGS = $(CFLAGS)
-GHDL_ADAFLAGS = -Wall -gnata
-
-objext = .o
-exeext =
-arext = .a
-soext = .so
-shext =
-
-HOST_CC=$(CC)
-HOST_CFLAGS=$(ALL_CFLAGS)
-HOST_CLIB=$(CLIB)
-HOST_LDFLAGS=$(LDFLAGS)
-HOST_CPPFLAGS=$(ALL_CPPFLAGS)
-HOST_ALLOCA=$(ALLOCA)
-HOST_MALLOC=$(MALLOC)
-HOST_OBSTACK=$(OBSTACK)
-
-# We don't use cross-make. Instead we use the tools from the build tree,
-# if they are available.
-# program_transform_name and objdir are set by configure.in.
-program_transform_name =
-objdir = .
-
-target=@target@
-target_alias=@target_alias@
-target_noncanonical:=@target_noncanonical@
-xmake_file=@dep_host_xmake_file@
-tmake_file=@dep_tmake_file@
-#version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
-#mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
-
-# Directory where sources are, from where we are.
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-# Top build directory, relative to here.
-top_builddir = ..
-
-version := $(shell cat $(srcdir)/../BASE-VER)
-
-# End of variables for you to override.
-
-# Definition of `all' is here so that new rules inserted by sed
-# do not specify the default target.
-all: all.indirect
-
-# This tells GNU Make version 3 not to put all variables in the environment.
-.NOEXPORT:
-
-# Now figure out from those variables how to compile and link.
-
-all.indirect: Makefile
-
-# This tells GNU make version 3 not to export all the variables
-# defined in this file into the environment.
-.NOEXPORT:
-
-Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
- cd ..; $(SHELL) config.status
-
-force:
-
-SED=sed
-
-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 " -- Accept long lines." >> tmp-dpathes.ads
- echo " pragma Style_Checks (\"M999\");" >> tmp-dpathes.ads
- echo " Install_Prefix : constant String :=" >> tmp-dpathes.ads
- echo " \"$(exec_prefix)\";" >> tmp-dpathes.ads
- echo " Compiler_Gcc : constant String :=" >> tmp-dpathes.ads
- echo " \"libexec/gcc/$(target_noncanonical)/$(version)/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 " Lib_Prefix : constant String :=">> tmp-dpathes.ads
- echo " \"lib/gcc/$(target_noncanonical)/$(version)/vhdl/lib/\";" >> tmp-dpathes.ads
- echo "end Default_Pathes;" >> tmp-dpathes.ads
- $(srcdir)/../../move-if-change tmp-dpathes.ads $@
-
-../ghdl$(exeext): drvdir drvdir/default_pathes.ads force
- CURDIR=`pwd`; cd $(srcdir); SRCDIR=`pwd`; cd $$CURDIR/drvdir; \
- $(GNATMAKE) -o ../$@ -aI$$SRCDIR/ghdldrv -aI$$SRCDIR -aO.. ghdl_gcc \
- -bargs -E -cargs $(ADA_CFLAGS) $(GHDL_ADAFLAGS) -largs $(LIBS)
-
-drvdir:
- mkdir $@
-
-clean: grt-clean ghdllibs-clean force
- $(RM) *.o *.ali
- $(RM) default_pathes.ads
-
-# Additionnal rules
-
-LIB87_DIR:=./lib/v87
-LIB93_DIR:=./lib/v93
-LIB08_DIR:=./lib/v08
-LIBSRC_DIR:=$(srcdir)/libraries
-ANALYZE=../ghdl -a --GHDL1=../ghdl1 --ieee=none
-
-$(LIB93_DIR) $(LIB87_DIR):
- $(srcdir)/../../mkinstalldirs $@
-
-####libraries Makefile.inc
-
-std87_standard.o: $(GHDL1)
- $(GHDL1) --std=87 -quiet -o std_standard.s --compile-standard
- ../xgcc -c -o std_standard.o std_standard.s
- $(MV) std_standard.o $@
-
-std93_standard.o: $(GHDL1)
- $(GHDL1) --std=93 -quiet -o std_standard.s --compile-standard
- ../xgcc -c -o std_standard.o std_standard.s
- $(MV) std_standard.o $@
-
-std08_standard.o: $(GHDL1)
- $(GHDL1) --std=08 -quiet -o std_standard.s --compile-standard
- ../xgcc -c -o std_standard.o std_standard.s
- $(MV) std_standard.o $@
-
-ghdllib: std87_standard.o std93_standard.o std08_standard.o libgrt.a
-
-ghdllibs-clean: force
- $(RM) -rf $(LIB87_DIR) $(LIB93_DIR) $(LIB08_DIR)
-
-PHONY: ghdllib ghdllibs-clean
-
-GHDL1=../ghdl1
-GRTSRCDIR=$(srcdir)/grt
-GRT_RANLIB=$(RANLIB)
-
-####grt Makefile.inc
-
-install-ghdllib: ghdllib grt.lst $(STD93_SRCS) $(STD87_SRCS) \
- $(IEEE93_SRCS) $(IEEE87_SRCS) $(SYNOPSYS_SRCS) \
- $(STD08_SRCS) $(IEEE08_SRCS)
- $(RM) -rf $(DESTDIR)$(VHDL_LIB_DIR)
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)
-# Install libgrt
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/lib
- $(INSTALL_DATA) libgrt.a $(DESTDIR)$(VHDL_LIB_DIR)/lib/libgrt.a
- $(INSTALL_DATA) grt.lst $(DESTDIR)$(VHDL_LIB_DIR)/lib/grt.lst
- $(INSTALL_DATA) $(GRTSRCDIR)/grt.ver $(DESTDIR)$(VHDL_LIB_DIR)/lib/grt.ver
-# Install VHDL sources.
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/std
- for i in $(STD93_SRCS) $(STD87_SRCS) $(STD08_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/std; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/ieee
- for i in $(IEEE93_SRCS) $(IEEE87_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/ieee; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/vital95
- for i in $(VITAL95_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/vital95; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/vital2000
- for i in $(VITAL2000_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/vital2000; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/synopsys
- for i in $(SYNOPSYS_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/synopsys; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/mentor
- for i in $(MENTOR93_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/mentor; \
- done
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/src/ieee2008
- for i in $(IEEE08_SRCS); do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(VHDL_LIB_DIR)/src/ieee2008; \
- done
-# Create library dirs
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/lib/v93
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/lib/v87
- $(MKDIR) $(DESTDIR)$(VHDL_LIB_DIR)/lib/v08
-# Compile in place.
- PDIR=`pwd` && cd $(DESTDIR)$(VHDL_LIB_DIR) && \
- $(MAKE) -f $$PDIR/Makefile REL_DIR=../../.. LIBSRC_DIR="src" \
- LIB93_DIR=lib/v93 LIB87_DIR=lib/v87 LIB08_DIR=lib/v08 \
- ANALYZE="$$PDIR/../ghdl -a --GHDL1=$$PDIR/../ghdl1 --ieee=none" \
- std.v87 ieee.v87 synopsys.v87 \
- std.v93 ieee.v93 synopsys.v93 mentor.v93 \
- std.v08 ieee.v08
-# Copy std_standard (this is done after libraries, since they remove dirs).
- $(INSTALL_DATA) std87_standard.o \
- $(DESTDIR)$(VHDL_LIB_DIR)/lib/v87/std/std_standard.o
- $(INSTALL_DATA) std93_standard.o \
- $(DESTDIR)$(VHDL_LIB_DIR)/lib/v93/std/std_standard.o
- $(INSTALL_DATA) std08_standard.o \
- $(DESTDIR)$(VHDL_LIB_DIR)/lib/v08/std/std_standard.o
diff --git a/src/translate/gcc/README b/src/translate/gcc/README
deleted file mode 100644
index 1152e99..0000000
--- a/src/translate/gcc/README
+++ /dev/null
@@ -1,87 +0,0 @@
-This is the README from the source distribution of GHDL.
-
-To get the binary distribution or more information, go to http://ghdl.free.fr
-
-Copyright:
-**********
-GHDL is copyright (c) 2002 - 2010 Tristan Gingold.
-See the GHDL manual for more details.
-
-This program 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
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
-
-
-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 GPL 2008 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)
-
-Procedure:
-* Check your Ada compiler. On some systems (or with some distribution), the
- GNAT compiler seems broken. Try this very simple example, using file
- example.adb
-<<<<<<<<<<<<<<<<<<
-procedure Example is
-begin
- null;
-end Example;
-<<<<<<<<<<<<<<<<<<
- Compile with
- $ gnatmake example
- It should create an executable, 'example'.
- If this doesn't work, your GNAT installation is broken. It may be a PATH
- problem or something else.
-* untar the gcc tarball
-* untar the ghdl tarball (this sould have been done, since you are reading a
- file from it).
-* move or copy the vhdl directory of ghdl into the gcc subdirectory of
- the gcc distribution.
- You should have a @GCCVERSION@/gcc/vhdl directory.
-* configure gcc with the --enable-languages=vhdl option. You may of course
- add other languages. Also you'd better to disable bootstraping using
- --disable-bootstrap.
- Refer to the gcc installation documentation.
-* compile gcc.
- 'make CFLAGS="-O"' is OK
-* install gcc. This installs the ghdl driver too.
- 'make install' is OK.
-
-There is a mailing list for any questions. You can subscribe via:
- https://mail.gna.org/listinfo/ghdl-discuss/
-Please report bugs on https://gna.org/bugs/?group=ghdl
-
-If you cannot compile, please report the gcc version, GNAT version and gcc
-source version.
-
-* Note for ppc64 (and AIX ?) platform:
-The object file format contains an identifier for the source language. Because
-gcc doesn't know about the VHDL, gcc crashes very early. This could be fixed
-with a very simple change in gcc/config/rs6000/rs6000.c,
-function rs6000_output_function_epilogue (as of gcc 4.8):
- else if (! strcmp (language_string, "GNU Objective-C"))
- i = 14;
- else
-- gcc_unreachable ();
-+ i = 0;
- fprintf (file, "%d,", i);
-
- /* 8 single bit fields: global linkage (not set for C extern linkage,
-
-Tristan Gingold.
diff --git a/src/translate/gcc/config-lang.in b/src/translate/gcc/config-lang.in
deleted file mode 100644
index 7010b11..0000000
--- a/src/translate/gcc/config-lang.in
+++ /dev/null
@@ -1,38 +0,0 @@
-# Top level configure fragment for GNU vhdl (GHDL).
-# Copyright (C) 1994-2001 Free Software Foundation, Inc.
-
-#This file is part of GNU CC.
-
-#GNU CC 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, or (at your option)
-#any later version.
-
-#GNU CC is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#GNU General Public License for more details.
-
-#You should have received a copy of the GNU General Public License
-#along with GNU CC; see the file COPYING. If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330,
-#Boston, MA 02111-1307, USA.
-
-# Configure looks for the existence of this file to auto-config each language.
-# We define several parameters used by configure:
-#
-# language - name of language as it would appear in $(LANGUAGES)
-# boot_language - "yes" if we need to build this language in stage1
-# compilers - value to add to $(COMPILERS)
-# stagestuff - files to add to $(STAGESTUFF)
-
-language="vhdl"
-boot_language=no
-
-compilers="ghdl1\$(exeext)"
-
-stagestuff="ghdl\$(exeext) ghdl1\$(exeext)"
-
-outputs=vhdl/Makefile
-
-gtfiles="\$(srcdir)/vhdl/ortho-lang.c"
diff --git a/src/translate/gcc/dist-common.sh b/src/translate/gcc/dist-common.sh
deleted file mode 100644
index ad22297..0000000
--- a/src/translate/gcc/dist-common.sh
+++ /dev/null
@@ -1,337 +0,0 @@
-# ghdl core files
-cfiles="
-evaluation.adb
-evaluation.ads
-scanner.ads
-scanner.adb
-scanner-scan_literal.adb
-back_end.ads
-back_end.adb
-files_map.adb
-files_map.ads
-sem.adb
-sem.ads
-sem_expr.adb
-sem_expr.ads
-sem_names.adb
-sem_names.ads
-sem_scopes.adb
-sem_scopes.ads
-sem_decls.ads
-sem_decls.adb
-sem_inst.ads
-sem_inst.adb
-sem_specs.ads
-sem_specs.adb
-sem_stmts.ads
-sem_stmts.adb
-sem_types.ads
-sem_types.adb
-sem_assocs.ads
-sem_assocs.adb
-sem_psl.ads
-sem_psl.adb
-canon.adb
-canon.ads
-canon_psl.ads
-canon_psl.adb
-flags.adb
-flags.ads
-configuration.adb
-configuration.ads
-nodes.ads
-nodes.adb
-nodes_gc.ads
-nodes_gc.adb
-nodes_meta.ads
-nodes_meta.adb
-options.ads
-options.adb
-psl-errors.ads
-lists.ads
-lists.adb
-iirs.adb
-iirs.ads
-iir_chains.ads
-iir_chains.adb
-iir_chain_handling.ads
-iir_chain_handling.adb
-iirs_walk.ads
-iirs_walk.adb
-std_names.adb
-std_names.ads
-disp_tree.adb
-disp_tree.ads
-iirs_utils.adb
-iirs_utils.ads
-std_package.adb
-std_package.ads
-disp_vhdl.adb
-disp_vhdl.ads
-libraries.adb
-libraries.ads
-tokens.adb
-tokens.ads
-name_table.adb
-name_table.ads
-str_table.ads
-str_table.adb
-types.ads
-version.ads
-errorout.adb
-errorout.ads
-parse.adb
-parse.ads
-parse_psl.ads
-parse_psl.adb
-post_sems.ads
-post_sems.adb
-ieee.ads
-ieee-std_logic_1164.ads
-ieee-std_logic_1164.adb
-ieee-vital_timing.ads
-ieee-vital_timing.adb
-xrefs.ads
-xrefs.adb
-bug.ads
-bug.adb
-"
-
-# translation file
-tfiles="
-translation.adb
-ortho_front.adb
-translation.ads
-trans_decls.ads
-trans_be.ads
-trans_be.adb
-trans_analyzes.ads
-trans_analyzes.adb"
-
-ortho_files="
-ortho_front.ads"
-
-ortho_gcc_files="
-lang.opt
-ortho-lang.c
-ortho_gcc-main.adb
-ortho_gcc-main.ads
-ortho_gcc.adb
-ortho_gcc.ads
-ortho_gcc_front.ads
-ortho_ident.adb
-ortho_ident.ads
-ortho_nodes.ads
-"
-
-ghdl_files="
-ghdl_gcc.adb
-ghdldrv.ads
-ghdldrv.adb
-ghdlprint.ads
-ghdlprint.adb
-ghdllocal.ads
-ghdllocal.adb
-ghdlmain.ads
-ghdlmain.adb
-"
-
-libraries_files="
-std/textio.vhdl
-std/textio_body.vhdl
-std/env.vhdl
-std/env_body.vhdl
-ieee/README.ieee
-ieee/numeric_bit-body.vhdl
-ieee/numeric_bit.vhdl
-ieee/numeric_std-body.vhdl
-ieee/numeric_std.vhdl
-ieee/std_logic_1164.vhdl
-ieee/std_logic_1164_body.vhdl
-ieee/math_real.vhdl
-ieee/math_real-body.vhdl
-ieee/math_complex.vhdl
-ieee/math_complex-body.vhdl
-ieee2008/README.ieee
-ieee2008/fixed_float_types.vhdl
-ieee2008/fixed_generic_pkg-body.vhdl
-ieee2008/fixed_generic_pkg.vhdl
-ieee2008/fixed_pkg.vhdl
-ieee2008/float_generic_pkg-body.vhdl
-ieee2008/float_generic_pkg.vhdl
-ieee2008/float_pkg.vhdl
-ieee2008/math_complex-body.vhdl
-ieee2008/math_complex.vhdl
-ieee2008/math_real-body.vhdl
-ieee2008/math_real.vhdl
-ieee2008/numeric_bit-body.vhdl
-ieee2008/numeric_bit.vhdl
-ieee2008/numeric_bit_unsigned-body.vhdl
-ieee2008/numeric_bit_unsigned.vhdl
-ieee2008/numeric_std-body.vhdl
-ieee2008/numeric_std.vhdl
-ieee2008/numeric_std_unsigned-body.vhdl
-ieee2008/numeric_std_unsigned.vhdl
-ieee2008/std_logic_1164-body.vhdl
-ieee2008/std_logic_1164.vhdl
-ieee2008/std_logic_textio.vhdl
-vital95/vital_primitives.vhdl
-vital95/vital_primitives_body.vhdl
-vital95/vital_timing.vhdl
-vital95/vital_timing_body.vhdl
-vital2000/memory_b.vhdl
-vital2000/memory_p.vhdl
-vital2000/prmtvs_b.vhdl
-vital2000/prmtvs_p.vhdl
-vital2000/timing_b.vhdl
-vital2000/timing_p.vhdl
-synopsys/std_logic_arith.vhdl
-synopsys/std_logic_misc.vhdl
-synopsys/std_logic_misc-body.vhdl
-synopsys/std_logic_signed.vhdl
-synopsys/std_logic_textio.vhdl
-synopsys/std_logic_unsigned.vhdl
-mentor/std_logic_arith.vhdl
-mentor/std_logic_arith_body.vhdl
-"
-
-grt_files="
-grt-cbinding.c
-grt-cvpi.c
-grt.adc
-grt-astdio.ads
-grt-astdio.adb
-grt-avhpi.adb
-grt-avhpi.ads
-grt-avls.ads
-grt-avls.adb
-grt-c.ads
-grt-disp.adb
-grt-disp.ads
-grt-disp_rti.adb
-grt-disp_rti.ads
-grt-disp_tree.adb
-grt-disp_tree.ads
-grt-disp_signals.adb
-grt-disp_signals.ads
-grt-errors.adb
-grt-errors.ads
-grt-files.adb
-grt-files.ads
-grt-hooks.adb
-grt-hooks.ads
-grt-images.adb
-grt-images.ads
-grt-lib.adb
-grt-lib.ads
-grt-main.adb
-grt-main.ads
-grt-modules.ads
-grt-modules.adb
-grt-names.adb
-grt-names.ads
-grt-options.adb
-grt-options.ads
-grt-processes.adb
-grt-processes.ads
-grt-rtis.ads
-grt-rtis.adb
-grt-rtis_addr.adb
-grt-rtis_addr.ads
-grt-rtis_utils.adb
-grt-rtis_utils.ads
-grt-rtis_binding.ads
-grt-rtis_types.ads
-grt-rtis_types.adb
-grt-sdf.adb
-grt-sdf.ads
-grt-shadow_ieee.ads
-grt-shadow_ieee.adb
-grt-signals.adb
-grt-signals.ads
-grt-stack2.adb
-grt-stack2.ads
-grt-stacks.adb
-grt-stacks.ads
-grt-stats.ads
-grt-stats.adb
-grt-stdio.ads
-grt-table.ads
-grt-table.adb
-grt-types.ads
-grt-unithread.ads
-grt-unithread.adb
-grt-values.adb
-grt-values.ads
-grt-vcd.adb
-grt-vcd.ads
-grt-vcdz.adb
-grt-vcdz.ads
-grt-vital_annotate.adb
-grt-vital_annotate.ads
-grt-vpi.adb
-grt-vpi.ads
-grt-vstrings.adb
-grt-vstrings.ads
-grt-waves.ads
-grt-waves.adb
-grt-zlib.ads
-grt-threads.ads
-grt-arch_none.ads
-grt-arch_none.adb
-grt-std_logic_1164.ads
-grt-std_logic_1164.adb
-grt.ads
-main.adb
-main.ads
-ghdl_main.ads
-ghdl_main.adb
-ghwlib.h
-ghwlib.c
-ghwdump.c
-grt.ver
-"
-
-grt_config_files="
-i386.S
-sparc.S
-ppc.S
-ia64.S
-amd64.S
-times.c
-clock.c
-linux.c
-pthread.c
-win32.c"
-
-psl_files="
-psl.ads
-psl-build.adb
-psl-build.ads
-psl-cse.adb
-psl-cse.ads
-psl-disp_nfas.adb
-psl-disp_nfas.ads
-psl-dump_tree.adb
-psl-dump_tree.ads
-psl-hash.adb
-psl-hash.ads
-psl-nfas.adb
-psl-nfas.ads
-psl-nfas-utils.adb
-psl-nfas-utils.ads
-psl-nodes.adb
-psl-nodes.ads
-psl-optimize.adb
-psl-optimize.ads
-psl-prints.adb
-psl-prints.ads
-psl-priorities.ads
-psl-qm.adb
-psl-qm.ads
-psl-rewrites.adb
-psl-rewrites.ads
-psl-subsets.adb
-psl-subsets.ads
-psl-tprint.adb
-psl-tprint.ads"
diff --git a/src/translate/gcc/dist.sh b/src/translate/gcc/dist.sh
deleted file mode 100755
index 8632dc5..0000000
--- a/src/translate/gcc/dist.sh
+++ /dev/null
@@ -1,471 +0,0 @@
-#!/bin/sh
-
-# Script used to create tar balls.
-# Copyright (C) 2002, 2003, 2004, 2005, 2006 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, or (at your option) any later
-# version.
-#
-# GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GCC; see the file COPYING. If not, write to the Free
-# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Building a distribution:
-# * update the 'version' variable in ../../Makefile
-# * Regenerate version.ads: make -f ../../Makefile version.ads
-# * Check NEWS, README and INSTALL files.
-# * Check version and copyright years in doc/ghdl.texi, ghdlmain.adb
-# * Check GCCVERSION below.
-# * Check lists of exported files in this file.
-# * Create source tar and build binaries: ./dist.sh dist_phase1
-# * su root
-# * Build binary tar: HOME=~user ./dist.sh dist_phase2
-# * 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
-
-## DO NOT MODIFY this file while it is running...
-
-set -e
-
-# GCC version
-GCCVERSION=4.9.2
-# Machine name used by GCC
-MACHINE=${MACHINE:i686-pc-linux-gnu}
-# Directory where GCC sources (and objects) stay.
-DISTDIR=${DISTDIR:-$HOME/dist}
-# GTKWave version.
-GTKWAVE_VERSION=3.3.50
-
-# GHDL version (extracted from version.ads)
-VERSION=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' ../../version.ads`
-
-CWD=`pwd`
-
-distdir=ghdl-$VERSION
-tarfile=$distdir.tar
-
-GTKWAVE_BASE=$HOME/devel/gtkwave-$GTKWAVE_VERSION
-
-GCCDIST=$DISTDIR/gcc-$GCCVERSION
-GCCDISTOBJ=$GCCDIST-objs
-PREFIX=/usr/local
-GCCLIBDIR=$PREFIX/lib/gcc/$MACHINE/$GCCVERSION
-GCCLIBEXECDIR=$PREFIX/libexec/gcc/$MACHINE/$GCCVERSION
-bindirname=ghdl-$VERSION-$MACHINE
-TARINSTALL=$DISTDIR/$bindirname.tar.bz2
-VHDLDIR=$distdir/vhdl
-DOWNLOAD_HTML=../../website/download.html
-DESTDIR=$CWD/
-UNSTRIPDIR=${distdir}-unstripped
-
-PATH=/usr/gnat/bin:$PATH
-
-do_clean ()
-{
- rm -rf $VHDLDIR
- mkdir $VHDLDIR
- mkdir $VHDLDIR/ghdldrv
- mkdir $VHDLDIR/libraries
- mkdir $VHDLDIR/libraries/std $VHDLDIR/libraries/ieee
- mkdir $VHDLDIR/libraries/vital95 $VHDLDIR/libraries/vital2000
- mkdir $VHDLDIR/libraries/synopsys $VHDLDIR/libraries/mentor
- mkdir $VHDLDIR/libraries/ieee2008
- mkdir $VHDLDIR/grt
- mkdir $VHDLDIR/grt/config
-}
-
-# Build Makefile
-do_Makefile ()
-{
- sed -e "/^####libraries Makefile.inc/r ../../libraries/Makefile.inc" \
- -e "/^####grt Makefile.inc/r ../grt/Makefile.inc" \
- < Makefile.in > $VHDLDIR/Makefile.in
- cp Make-lang.in $VHDLDIR/Make-lang.in
-}
-
-# Copy (or link) sources files into $VHDLDIR
-do_files ()
-{
-. ./dist-common.sh
-
-# Local files
-lfiles="config-lang.in lang-options.h lang-specs.h"
-for i in $lfiles; do ln -sf $CWD/$i $VHDLDIR/$i; done
-
-for i in $cfiles; do ln -sf $CWD/../../$i $VHDLDIR/$i; done
-
-for i in ghdl.texi ghdl.1; do ln -sf $CWD/../../doc/$i $VHDLDIR/$i; done
-
-for i in $tfiles; do ln -sf $CWD/../$i $VHDLDIR/$i; done
-
-for i in $ortho_files; do ln -sf $CWD/../../ortho/$i $VHDLDIR/$i; done
-
-for i in $ortho_gcc_files; do
- ln -sf $CWD/../../ortho/gcc/$i $VHDLDIR/$i
-done
-
-for i in $ghdl_files; do
- ln -sf $CWD/../ghdldrv/$i $VHDLDIR/ghdldrv/$i
-done
-
-for i in $libraries_files; do
- ln -sf $CWD/../../libraries/$i $VHDLDIR/libraries/$i
-done
-
-for i in $grt_files; do
- ln -sf $CWD/../grt/$i $VHDLDIR/grt/$i
-done
-
-for i in $grt_config_files; do
- ln -sf $CWD/../grt/config/$i $VHDLDIR/grt/config/$i
-done
-
-for i in $psl_files; do
- ln -sf $CWD/../../psl/$i $VHDLDIR/$i
-done
-}
-
-# Create the tar of sources.
-do_sources ()
-{
- \rm -rf $distdir
- mkdir $distdir
- VHDLDIR=$distdir/vhdl
- do_clean $VHDLDIR
- do_Makefile
- do_files
- ln -sf ../../../COPYING $distdir
- sed -e "s/@GCCVERSION@/gcc-$GCCVERSION/g" < README > $distdir/README
- tar cvhf $tarfile $distdir
- bzip2 -f $tarfile
- rm -rf $distdir
-}
-
-# Put GHDL sources in GCC.
-do_update_gcc_sources ()
-{
- set -x
-
- cd $GCCDIST/..
- tar jxvf $CWD/$tarfile.bz2
- rm -rf $GCCDIST/gcc/vhdl
- mv $distdir/vhdl $GCCDIST/gcc
-}
-
-# Extract the source, configure and make.
-do_compile ()
-{
- #set -x
-
- 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
- export CFLAGS="-O -g"
-
- case $MACHINE in
- i?86-*-linux*)
- # gmp location (mpfr and mpc are supposed to be at the same place)
- CONFIG_LIBS="--with-gmp=$PWD/../build"
- ;;
- x86_64-*-linux*)
- CONFIG_LIBS=""
- ;;
- x86_64-*-darwin*)
- CONFIG_LIBS="--with-gmp=$HOME/local --with-stage1-ldflags="
- ;;
- *)
- exit 1
- ;;
- esac
- ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX --disable-bootstrap --with-bugurl="<URL:http://gna.org/projects/ghdl>" --build=$MACHINE $CONFIG_LIBS --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath
-
- make -j4
- make -C gcc vhdl.info
- cd $CWD
-}
-
-# Re-package sources, update gcc sources and recompile without reconfiguring.
-do_recompile ()
-{
- do_sources
- do_update_gcc_sources;
- cd $GCCDISTOBJ
- export CFLAGS="-O -g"
- make -j4
-}
-
-check_root ()
-{
- if [ $UID -ne 0 ]; then
- echo "$0: you must be root";
- exit 1;
- fi
-}
-
-# Do a make install
-do_gcc_install ()
-{
- set -x
- cd $GCCDISTOBJ
- # Check the info file is not empty.
- if [ -s gcc/doc/ghdl.info ]; then
- echo "info file found"
- else
- echo "Error: ghdl.info not found".
- exit 1;
- fi
- mkdir -p $DESTDIR/usr/local || true
- make DESTDIR=$DESTDIR install
- cd $CWD
- if [ -d $UNSTRIPDIR ]; then
- rm -rf $UNSTRIPDIR
- fi
- mkdir $UNSTRIPDIR
- cp ${DESTDIR}${GCCLIBEXECDIR}/ghdl1 ${DESTDIR}${PREFIX}/bin/ghdl $UNSTRIPDIR
- chmod -w $UNSTRIPDIR/*
- strip ${DESTDIR}${GCCLIBEXECDIR}/ghdl1 ${DESTDIR}${PREFIX}/bin/ghdl
-}
-
-# Create the tar file from the current installation.
-do_tar_install ()
-{
- tar -C $DESTDIR -jcvf $TARINSTALL \
- ./$PREFIX/bin/ghdl ./$PREFIX/info/ghdl.info ./$PREFIX/man/man1/ghdl.1 \
- ./$GCCLIBDIR/vhdl \
- ./$GCCLIBEXECDIR/ghdl1
-}
-
-do_extract_tar_install ()
-{
- check_root;
- cd /
- tar jxvf $TARINSTALL
- cd $CWD
-}
-
-# Create the tar file to be distributed.
-do_tar_dist ()
-{
- rm -rf $bindirname
- mkdir $bindirname
- sed -e "s/@TARFILE@/$bindirname/" < INSTALL > $bindirname/INSTALL
- ln ../../COPYING $bindirname
- cp $TARINSTALL $bindirname
- tar cvf $bindirname.tar $bindirname
-}
-
-# Remove the non-ghdl files of gcc in the current installation.
-do_distclean_gcc ()
-{
- set -x
- rm -f ${DESTDIR}${PREFIX}/bin/cpp ${DESTDIR}${PREFIX}/bin/gcc
- rm -f ${DESTDIR}${PREFIX}/bin/gcc-*
- rm -f ${DESTDIR}${PREFIX}/bin/gccbug ${DESTDIR}${PREFIX}/bin/gcov
- rm -f ${DESTDIR}${PREFIX}/bin/${MACHINE}-gcc*
- rm -f ${DESTDIR}${PREFIX}/info/cpp.info*
- rm -f ${DESTDIR}${PREFIX}/info/cppinternals.info*
- rm -f ${DESTDIR}${PREFIX}/info/gcc.info*
- rm -f ${DESTDIR}${PREFIX}/info/gccinstall.info*
- rm -f ${DESTDIR}${PREFIX}/info/gccint.info*
- rm -f ${DESTDIR}${PREFIX}/lib/*.a
- rm -f ${DESTDIR}${PREFIX}/lib/*.so*
- rm -f ${DESTDIR}${PREFIX}/lib/*.la
- rm -rf ${DESTDIR}${PREFIX}/share
- rm -rf ${DESTDIR}${PREFIX}/man/man7
- rm -rf ${DESTDIR}${PREFIX}/man/man1/{cpp,gcc,gcov}.1
- rm -rf ${DESTDIR}${PREFIX}/include
- rm -f ${DESTDIR}${GCCLIBEXECDIR}/cc1 ${DESTDIR}${GCCLIBEXECDIR}/collect2
- rm -f ${DESTDIR}${GCCLIBEXECDIR}/cpp0 ${DESTDIR}${GCCLIBEXECDIR}/tradcpp0
- rm -rf ${DESTDIR}${GCCLIBEXECDIR}/plugin
- rm -rf ${DESTDIR}${GCCLIBEXECDIR}/lto-wrapper
- rm -f ${DESTDIR}${GCCLIBDIR}/*.o ${DESTDIR}$GCCLIBDIR/*.a
- rm -f ${DESTDIR}${GCCLIBDIR}/specs
- rm -rf ${DESTDIR}${GCCLIBDIR}/plugin
- rm -rf ${DESTDIR}${GCCLIBDIR}/include
- rm -rf ${DESTDIR}${GCCLIBDIR}/include-fixed
- rm -rf ${DESTDIR}${GCCLIBDIR}/install-tools
- rm -rf ${DESTDIR}${GCCLIBEXECDIR}/install-tools
-}
-
-# Remove ghdl files in the current installation.
-do_distclean_ghdl ()
-{
- check_root;
- set -x
- rm -f $PREFIX/bin/ghdl
- rm -f $PREFIX/info/ghdl.info*
- rm -f $GCCLIBEXECDIR/ghdl1
- rm -rf $GCCLIBDIR/vhdl
-}
-
-# Build the source tar, and build the binaries.
-do_dist_phase1 ()
-{
- do_sources;
- do_compile;
- do_gcc_install;
- do_distclean_gcc;
- do_tar_install;
- do_tar_dist;
- rm -rf ./$PREFIX
-}
-
-# Install the binaries and create the binary tar.
-do_dist_phase2 ()
-{
- check_root;
- do_distclean_ghdl;
- do_extract_tar_install;
- echo "dist_phase2 success"
-}
-
-# Create gtkwave patch
-do_gtkwave_patch ()
-{
-# rm -rf gtkwave-patch
- mkdir gtkwave-patch
- diff -rc -x Makefile.in $GTKWAVE_BASE.orig $GTKWAVE_BASE | \
- sed -e "/^Only in/d" \
- > gtkwave-patch/gtkwave-$GTKWAVE_VERSION.diffs
- cp ../grt/ghwlib.c ../grt/ghwlib.h $GTKWAVE_BASE/src/ghw.c gtkwave-patch
- sed -e "s/VERSION/$GTKWAVE_VERSION/g" < README.gtkwave > gtkwave-patch/README
- tar zcvf ../../website/gtkwave-patch.tgz gtkwave-patch
- rm -rf gtkwave-patch
-}
-
-# Update the index.html
-# 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\"/
-/HISTORY/ a \\
- <tr>\\
- <td>$VERSION</td>\\
- <td>`date +'%b %e %Y'`</td>\\
- <td>$GCCVERSION</td>\\
- <td><a href=\"$tarfile.bz2\">$tarfile.bz2</a></td>\\
- <td><a href=\"$bindirname.tar\">\\
- $bindirname.tar</a></td>\\
- </tr>
-" < "$DOWNLOAD_HTML".old > "$DOWNLOAD_HTML"
- dir=../../website/ghdl
- echo "Updating $dir"
- rm -rf $dir
- makeinfo --html -o $dir ../../doc/ghdl.texi
-}
-
-# Do ftp commands to upload
-do_upload ()
-{
-if tty -s; then
- echo -n "Please, enter password: "
- stty -echo
- read pass
- stty echo
- echo
-else
- echo "$0: upload must be done from a tty"
- exit 1;
-fi
-ftp -n <<EOF
-open ftpperso.free.fr
-user ghdl $pass
-prompt
-hash
-bin
-passive
-put $tarfile.bz2
-put $bindirname.tar
-put INSTALL
-lcd ../../website
-put NEWS
-put index.html
-put download.html
-put features.html
-put roadmap.html
-put manual.html
-put more.html
-put links.html
-put bug.html
-put waveviewer.html
-put gtkwave-patch.tgz
-put favicon.ico
-lcd ghdl
-cd ghdl
-mput \*
-bye
-EOF
-}
-
-if [ $# -eq 0 ]; then
- do_Makefile;
-else
- for i ; do
- case $i in
- Makefile|makefile)
- do_Makefile ;;
- files)
- do_files ;;
- sources)
- do_sources ;;
- compile)
- do_compile;;
- recompile)
- do_recompile;;
- update_gcc)
- do_update_gcc_sources;;
- gcc_install)
- do_gcc_install;;
- tar_install)
- do_tar_install;;
- tar_dist)
- do_tar_dist;;
- -v | --version | version)
- echo $VERSION
- exit 0
- ;;
- website)
- do_website;;
- upload)
- do_upload;;
- distclean_gcc)
- do_distclean_gcc;;
- distclean_ghdl)
- do_distclean_ghdl;;
- dist_phase1)
- do_dist_phase1;;
- dist_phase2)
- do_dist_phase2;;
- gtkwave_patch)
- do_gtkwave_patch;;
- *)
- echo "usage: $0 clean|Makefile|files|all"
- exit 1 ;;
- esac
- done
-fi
diff --git a/src/translate/gcc/lang-options.h b/src/translate/gcc/lang-options.h
deleted file mode 100644
index c92b121..0000000
--- a/src/translate/gcc/lang-options.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Definitions for switches for vhdl.
- Copyright (C) 2002
- Free Software Foundation, Inc.
-
-This file is part of GNU CC.
-
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-DEFINE_LANG_NAME ("vhdl")
-
-/* This is the contribution to the `lang_options' array in gcc.c for ghdl. */
-
- {"--ghdl-", "Specify options to GHDL"},
-
-
-
diff --git a/src/translate/gcc/lang-specs.h b/src/translate/gcc/lang-specs.h
deleted file mode 100644
index 0504435..0000000
--- a/src/translate/gcc/lang-specs.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Definitions for specs for vhdl.
- Copyright (C) 2002
- Free Software Foundation, Inc.
-
-This file is part of GNU CC.
-
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-/* This is the contribution to the `default_compilers' array in gcc.c for
- GHDL. */
-
- {".vhd", "@vhdl", 0, 0, 0},
- {".vhdl", "@vhdl", 0, 0, 0},
- {"@vhdl",
- "ghdl1 %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}", 0, 0, 0},
diff --git a/src/translate/mcode/Makefile.in b/src/translate/mcode/Makefile.in
deleted file mode 100644
index beb450a..0000000
--- a/src/translate/mcode/Makefile.in
+++ /dev/null
@@ -1,54 +0,0 @@
-PREFIX=/usr/local
-target=i686-pc-linux-gnu
-
-CFLAGS=-O
-GNATFLAGS=$(CFLAGS) -gnatn
-
-GRT_FLAGS=$(CFLAGS)
-
-all: ghdl_mcode std.v93 std.v87 ieee.v93 ieee.v87 synopsys.v93 synopsys.v87 mentor.v93
-
-
-GRTSRCDIR=grt
-
-####grt Makefile.inc
-
-ghdl_mcode: default_pathes.ads $(GRT_ADD_OBJS) mmap_binding.o force
- gnatmake -aIghdldrv -aIghdl -aIortho -aIgrt $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(GRT_EXTRA_LIB) -Wl,--version-script=$(GRTSRCDIR)/grt.ver -Wl,--export-dynamic
-
-mmap_binding.o: ortho/mmap_binding.c
- $(CC) -c -g -o $@ $<
-
-default_pathes.ads: 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 " Prefix : constant String :=">> tmp-dpathes.ads
- echo " \"$(PREFIX)/lib/ghdl/\";" >> tmp-dpathes.ads
- echo "end Default_Pathes;" >> tmp-dpathes.ads
- if test -r $@ && cmp tmp-dpathes.ads $@; then \
- echo "$@ unchanged"; \
- else \
- mv tmp-dpathes.ads $@; \
- fi
- $(RM) tmp-dpathes.ads
-
-force:
-
-LIB93_DIR:=./lib/v93
-LIB87_DIR:=./lib/v87
-LIBSRC_DIR:=./libraries
-ANALYZE=../../../ghdl_mcode -a --ieee=none
-REL_DIR=../../..
-VHDLLIBS_COPY_OBJS:=no
-CP=cp
-LN=ln -s
-
-./lib:
- mkdir $@
-
-$(LIB93_DIR) $(LIB87_DIR): ./lib
- mkdir $@
-
-
-####libraries Makefile.inc
diff --git a/src/translate/mcode/README b/src/translate/mcode/README
deleted file mode 100644
index a10cd6e..0000000
--- a/src/translate/mcode/README
+++ /dev/null
@@ -1,47 +0,0 @@
-This is the README from the source distribution of GHDL.
-
-To get the binary distribution or more information, go to http://ghdl.free.fr
-
-Copyright:
-**********
-GHDL is copyright (c) 2002, 2003, 2004, 2005 Tristan Gingold.
-See the GHDL manual for more details.
-
-This program 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
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
-
-
-Building GHDL from sources for Windows:
-***************************************
-
-Note: this was tested with Windows XP SP2 familly edition.
-
-Note: If you want to create the installer, GHDL should be built on a
-FAT partition. NSIS rounds files date to be FAT compliant (seconds are always
-even) and because GHDL stores dates, the files date must not be modified.
-
-Required:
-* the Ada95 GNAT compiler (GNAT GPL 2005 is known to work).
-* NSIS to create the installer.
-
-Unzip,
-edit winbuild to use correct path for makensis,
-run winbuild.
-
-The installer is in the windows directory.
-
-Send bugs and comments on http://gna.org/project/ghdl
-
-Tristan Gingold.
diff --git a/src/translate/mcode/dist.sh b/src/translate/mcode/dist.sh
deleted file mode 100755
index cf24141..0000000
--- a/src/translate/mcode/dist.sh
+++ /dev/null
@@ -1,506 +0,0 @@
-#!/bin/sh
-
-# Script used to create tar balls.
-# Copyright (C) 2002, 2003, 2004, 2005 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, or (at your option) any later
-# version.
-#
-# GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GCC; see the file COPYING. If not, write to the Free
-# Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Building a distribution:
-# * update the 'version' variable in ../../Makefile
-# * Regenerate version.ads: make -f ../../Makefile version.ads
-# * Check NEWS, README and INSTALL files.
-# * Check version and copyright years in doc/ghdl.texi, ghdlmain.adb
-# * Check GCCVERSION below.
-# * Check lists of exported files in this file.
-# * 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)
-# * upload (./dist upload)
-# * CVS commit, tag + cd image.
-# * remove previous version in /usr/local
-
-## DO NOT MODIFY this file while it is running...
-
-set -e
-
-# GTKWave version.
-GTKWAVE_VERSION=1.3.72
-
-# GHDL version (extracted from version.ads)
-VERSION=`sed -n -e 's/.*GHDL \([0-9.a-z]*\) (.*/\1/p' ../../version.ads`
-
-CWD=`pwd`
-
-distdir=ghdl-$VERSION
-tarfile=$distdir.tar
-zipfile=$distdir.zip
-
-PREFIX=/usr/local
-bindirname=ghdl-$VERSION-i686-pc-linux
-TARINSTALL=$DISTDIR/$bindirname.tar.bz2
-VHDLDIR=$distdir/vhdl
-DOWNLOAD_HTML=../../website/download.html
-DESTDIR=$CWD/
-UNSTRIPDIR=${distdir}-unstripped
-
-PATH=/usr/gnat/bin:$PATH
-
-do_clean ()
-{
- rm -rf $distdir
- mkdir $distdir
- mkdir $distdir/ghdl
- mkdir $distdir/ghdldrv
- mkdir $distdir/libraries
- mkdir $distdir/libraries/std $distdir/libraries/ieee
- mkdir $distdir/libraries/vital95 $distdir/libraries/vital2000
- mkdir $distdir/libraries/synopsys $distdir/libraries/mentor
- mkdir $distdir/grt
- mkdir $distdir/grt/config
- mkdir $distdir/ortho
- mkdir $distdir/windows
-}
-
-# Build Makefile
-do_Makefile ()
-{
- sed -e "/^####libraries Makefile.inc/r ../../libraries/Makefile.inc" \
- -e "/^####grt Makefile.inc/r ../grt/Makefile.inc" \
- < Makefile.in > $distdir/Makefile
-}
-
-# Copy (or link) sources files into $distdir
-do_files ()
-{
-. ../gcc/dist-common.sh
-
-ortho_mcode_files="
-binary_file-elf.adb
-binary_file-elf.ads
-binary_file-memory.adb
-binary_file-memory.ads
-binary_file.adb
-binary_file.ads
-disa_x86.adb
-disa_x86.ads
-disassemble.ads
-dwarf.ads
-elf32.adb
-elf32.ads
-elf64.ads
-elf_common.adb
-elf_common.ads
-elf_arch32.ads
-elf_arch.ads
-hex_images.adb
-hex_images.ads
-memsegs.ads
-memsegs_mmap.ads
-memsegs_mmap.adb
-memsegs_c.c
-ortho_code-abi.ads
-ortho_code-binary.adb
-ortho_code-binary.ads
-ortho_code-consts.adb
-ortho_code-consts.ads
-ortho_code-debug.adb
-ortho_code-debug.ads
-ortho_code-decls.adb
-ortho_code-decls.ads
-ortho_code-disps.adb
-ortho_code-disps.ads
-ortho_code-dwarf.adb
-ortho_code-dwarf.ads
-ortho_code-exprs.adb
-ortho_code-exprs.ads
-ortho_code-flags.ads
-ortho_code-opts.adb
-ortho_code-opts.ads
-ortho_code-types.adb
-ortho_code-types.ads
-ortho_code-sysdeps.adb
-ortho_code-sysdeps.ads
-ortho_code-x86-emits.adb
-ortho_code-x86-emits.ads
-ortho_code-x86-insns.adb
-ortho_code-x86-insns.ads
-ortho_code-x86-abi.adb
-ortho_code-x86-abi.ads
-ortho_code-x86-flags.ads
-ortho_code-x86.adb
-ortho_code-x86.ads
-ortho_code.ads
-ortho_code_main.adb
-ortho_ident.adb
-ortho_ident.ads
-ortho_mcode.adb
-ortho_mcode.ads
-ortho_nodes.ads
-"
-
-windows_files="
-compile.bat
-complib.bat
-default_pathes.ads
-ghdl.nsi
-windows_default_path.adb
-windows_default_path.ads
-ghdlfilter.adb
-ortho_code-sysdeps.adb
-grt-modules.adb
-"
-
-drv_files="
-ghdlcomp.ads
-ghdlcomp.adb
-foreigns.ads
-foreigns.adb
-ghdlrun.adb
-ghdlrun.ads
-ghdl_mcode.adb
-"
-
-for i in $cfiles; do ln -sf $CWD/../../$i $distdir/ghdl/$i; done
-for i in $tfiles; do ln -sf $CWD/../$i $distdir/ghdl/$i; done
-
-ln -sf $CWD/../../doc/ghdl.texi $distdir/ghdl.texi
-
-for i in $ortho_files; do ln -sf $CWD/../../ortho/$i $distdir/ortho/$i; done
-
-for i in $ortho_mcode_files; do
- ln -sf $CWD/../../ortho/mcode/$i $distdir/ortho/$i
-done
-
-for i in $ghdl_files $drv_files; do
- ln -sf $CWD/../ghdldrv/$i $distdir/ghdldrv/$i
-done
-
-for i in $libraries_files; do
- ln -sf $CWD/../../libraries/$i $distdir/libraries/$i
-done
-
-for i in $grt_files; do
- ln -sf $CWD/../grt/$i $distdir/grt/$i
-done
-
-for i in $grt_config_files; do
- ln -sf $CWD/../grt/config/$i $distdir/grt/config/$i
-done
-
-for i in $windows_files; do
- ln -sf $CWD/windows/$i $distdir/windows/$i
-done
- echo "!define VERSION \"$VERSION\"" > $distdir/windows/version.nsi
-
-
- ln -sf $CWD/winbuild.bat $distdir/winbuild.bat
-
-makeinfo --html --no-split -o $distdir/windows/ghdl.htm $CWD/../../doc/ghdl.texi
-}
-
-do_sources_dir ()
-{
- \rm -rf $distdir
- mkdir $distdir
- do_clean
- do_Makefile
- do_files
- ln -sf ../../../COPYING $distdir
-}
-
-# Create the tar of sources.
-do_tar ()
-{
- do_sources_dir
- tar cvhf $tarfile $distdir
- bzip2 -f $tarfile
- rm -rf $distdir
-}
-
-# Create the zip of sources.
-do_zip ()
-{
- do_sources_dir
- zip -r $zipfile $distdir
- rm -rf $distdir
-}
-
-# Extract the source, configure and make.
-do_compile ()
-{
- set -x
-
- do_update_gcc_sources;
-
- rm -rf $GCCDISTOBJ
- mkdir $GCCDISTOBJ
- cd $GCCDISTOBJ
- ../gcc-$GCCVERSION/configure --enable-languages=vhdl --prefix=$PREFIX
- make CFLAGS="-O -g"
- make -C gcc vhdl.info
- cd $CWD
-}
-
-check_root ()
-{
- if [ $UID -ne 0 ]; then
- echo "$0: you must be root";
- exit 1;
- fi
-}
-
-# Do a make install
-do_compile2 ()
-{
- set -x
- cd $GCCDISTOBJ
- # Check the info file is not empty.
- if [ -s gcc/doc/ghdl.info ]; then
- echo "info file found"
- else
- echo "Error: ghdl.info not found".
- exit 1;
- fi
- mkdir -p $DESTDIR/usr/local || true
- make DESTDIR=$DESTDIR install
- cd $CWD
- if [ -d $UNSTRIPDIR ]; then
- rm -rf $UNSTRIPDIR
- fi
- mkdir $UNSTRIPDIR
- cp ${DESTDIR}${GCCLIBEXECDIR}/ghdl1 ${DESTDIR}${PREFIX}/bin/ghdl $UNSTRIPDIR
- chmod -w $UNSTRIPDIR/*
- strip ${DESTDIR}${GCCLIBEXECDIR}/ghdl1 ${DESTDIR}${PREFIX}/bin/ghdl
-}
-
-# Create the tar file from the current installation.
-do_tar_install ()
-{
- tar -C $DESTDIR -jcvf $TARINSTALL \
- ./$PREFIX/bin/ghdl ./$PREFIX/info/ghdl.info \
- ./$GCCLIBDIR/vhdl \
- ./$GCCLIBEXECDIR/ghdl1
-}
-
-do_extract_tar_install ()
-{
- check_root;
- cd /
- tar jxvf $TARINSTALL
- cd $CWD
-}
-
-# Create the tar file to be distributed.
-do_tar_dist ()
-{
- rm -rf $bindirname
- mkdir $bindirname
- sed -e "s/@TARFILE@/$dir.tar/" < INSTALL > $bindirname/INSTALL
- ln ../../COPYING $bindirname
- ln $TARINSTALL $bindirname
- tar cvf $bindirname.tar $bindirname
-}
-
-# Remove the non-ghdl files of gcc in the current installation.
-do_distclean_gcc ()
-{
- set -x
- rm -f ${DESTDIR}${PREFIX}/bin/cpp ${DESTDIR}${PREFIX}/bin/gcc
- rm -f ${DESTDIR}${PREFIX}/bin/gccbug ${DESTDIR}${PREFIX}/bin/gcov
- rm -f ${DESTDIR}${PREFIX}/bin/${MACHINE}-gcc*
- rm -f ${DESTDIR}${PREFIX}/info/cpp.info*
- rm -f ${DESTDIR}${PREFIX}/info/cppinternals.info*
- rm -f ${DESTDIR}${PREFIX}/info/gcc.info*
- rm -f ${DESTDIR}${PREFIX}/info/gccinstall.info*
- rm -f ${DESTDIR}${PREFIX}/info/gccint.info*
- rm -f ${DESTDIR}${PREFIX}/lib/*.a ${DESTDIR}${PREFIX}/lib/*.so*
- rm -rf ${DESTDIR}${PREFIX}/share
- rm -rf ${DESTDIR}${PREFIX}/man
- rm -rf ${DESTDIR}${PREFIX}/include
- rm -f ${DESTDIR}${GCCLIBEXECDIR}/cc1 ${DESTDIR}${GCCLIBEXECDIR}/collect2
- rm -f ${DESTDIR}${GCCLIBEXECDIR}/cpp0 ${DESTDIR}${GCCLIBEXECDIR}/tradcpp0
- rm -f ${DESTDIR}${GCCLIBDIR}/*.o ${DESTDIR}$GCCLIBDIR/*.a
- rm -f ${DESTDIR}${GCCLIBDIR}/specs
- rm -rf ${DESTDIR}${GCCLIBDIR}/include
- rm -rf ${DESTDIR}${GCCLIBDIR}/install-tools
- rm -rf ${DESTDIR}${GCCLIBEXECDIR}/install-tools
-}
-
-# Remove ghdl files in the current installation.
-do_distclean_ghdl ()
-{
- check_root;
- set -x
- rm -f $PREFIX/bin/ghdl
- rm -f $PREFIX/info/ghdl.info*
- rm -f $GCCLIBEXECDIR/ghdl1
- rm -rf $GCCLIBDIR/vhdl
-}
-
-# Build the source tar, and build the binaries.
-do_dist_phase1 ()
-{
- do_sources;
- do_compile;
- do_compile2;
- do_distclean_gcc;
- do_tar_install;
- do_tar_dist;
- rm -rf ./$PREFIX
-}
-
-# Install the binaries and create the binary tar.
-do_dist_phase2 ()
-{
- check_root;
- do_distclean_ghdl;
- do_extract_tar_install;
- echo "dist_phase2 success"
-}
-
-# Create gtkwave patch
-do_gtkwave_patch ()
-{
-# rm -rf gtkwave-patch
- mkdir gtkwave-patch
- diff -rc -x Makefile.in $GTKWAVE_BASE.orig $GTKWAVE_BASE | \
- sed -e "/^Only in/d" \
- > gtkwave-patch/gtkwave-$GTKWAVE_VERSION.diffs
- cp ../grt/ghwlib.c ../grt/ghwlib.h $GTKWAVE_BASE/src/ghw.c gtkwave-patch
- sed -e "s/VERSION/$GTKWAVE_VERSION/g" < README.gtkwave > gtkwave-patch/README
- tar zcvf ../../website/gtkwave-patch.tgz gtkwave-patch
- rm -rf gtkwave-patch
-}
-
-# Update the index.html
-# Update the doc
-do_website ()
-{
- sed -e "
-/SRC-HREF/ s/href=\".*\"/href=\"$tarfile.bz2\"/
-/BIN-HREF/ s/href=\".*\"/href=\"$bindirname.tar\"/
-/HISTORY/ a \\
- <tr>\\
- <td>$VERSION</td>\\
- <td>`date +'%b %e %Y'`</td>\\
- <td>$GCCVERSION</td>\\
- <td><a href=\"$tarfile.bz2\">$tarfile.bz2</a></td>\\
- <td><a href=\"$bindirname.tar\">\\
- $bindirname.tar</a></td>\\
- </tr>
-" < $DOWNLOAD_HTML > "$DOWNLOAD_HTML".new
- dir=../../website/ghdl
- echo "Updating $dir"
- rm -rf $dir
- makeinfo --html -o $dir ../../doc/ghdl.texi
-}
-
-# Do ftp commands to upload
-do_upload ()
-{
-if tty -s; then
- echo -n "Please, enter password: "
- stty -echo
- read pass
- stty echo
- echo
-else
- echo "$0: upload must be done from a tty"
- exit 1;
-fi
-ftp -n <<EOF
-open ftpperso.free.fr
-user ghdl $pass
-prompt
-hash
-bin
-passive
-put $tarfile.bz2
-put $bindirname.tar
-put INSTALL
-lcd ../../website
-put NEWS
-put index.html
-put download.html
-put features.html
-put roadmap.html
-put manual.html
-put more.html
-put links.html
-put bug.html
-put waveviewer.html
-put gtkwave-patch.tgz
-put favicon.ico
-lcd ghdl
-cd ghdl
-mput \*
-bye
-EOF
-}
-
-if [ $# -eq 0 ]; then
- do_zip;
-else
- for i ; do
- case $i in
- clean)
- do_clean ;;
- Makefile|makefile)
- do_Makefile ;;
- files)
- do_files ;;
- sources)
- do_sources_dir ;;
- tar)
- do_tar ;;
- zip)
- do_zip ;;
- compile)
- do_compile;;
- update_gcc)
- do_update_gcc_sources;;
- compile2)
- do_compile2;;
- tar_install)
- do_tar_install;;
- tar_dist)
- do_tar_dist;;
- -v | --version | version)
- echo $VERSION
- exit 0
- ;;
- website)
- do_website;;
- upload)
- do_upload;;
- distclean_gcc)
- do_distclean_gcc;;
- distclean_ghdl)
- do_distclean_ghdl;;
- dist_phase1)
- do_dist_phase1;;
- dist_phase2)
- do_dist_phase2;;
- gtkwave_patch)
- do_gtkwave_patch;;
- *)
- echo "usage: $0 clean|Makefile|files|all"
- exit 1 ;;
- esac
- done
-fi
diff --git a/src/translate/mcode/winbuild.bat b/src/translate/mcode/winbuild.bat
deleted file mode 100644
index 8c28268..0000000
--- a/src/translate/mcode/winbuild.bat
+++ /dev/null
@@ -1,18 +0,0 @@
-call windows\compile
-if errorlevel 1 goto end
-
-call windows\complib
-if errorlevel 1 goto end
-
-gnatmake windows/ghdlversion -o windows/ghdlversion.exe
-windows\ghdlversion < ../../version.ads > windows/version.nsi
-
-"c:\Program Files\NSIS\makensis" windows\ghdl.nsi
-if errorlevel 1 goto end
-
-exit /b 0
-
-:end
-echo "Error during compilation"
-exit /b 1
-
diff --git a/src/translate/mcode/windows/compile.bat b/src/translate/mcode/windows/compile.bat
deleted file mode 100644
index c668ef0..0000000
--- a/src/translate/mcode/windows/compile.bat
+++ /dev/null
@@ -1,24 +0,0 @@
-mkdir build
-cd build
-
-rem Do the compilation
-set CFLAGS=-O -g
-gcc -c %CFLAGS% ../../grt/grt-cbinding.c
-gcc -c %CFLAGS% ../../grt/grt-cvpi.c
-gcc -c %CFLAGS% ../../grt/config/clock.c
-gcc -c %CFLAGS% ../../../ortho/mcode/memsegs_c.c
-gcc -c %CFLAGS% -DWITH_GNAT_RUN_TIME ../../grt/config/win32.c
-gnatmake %CFLAGS% -gnatn -aI../windows -aI../../.. -aI../.. -aI../../ghdldrv -aI../../../psl -aI../../grt -aI../../../ortho/mcode ghdl_mcode -aI../../../ortho -o ghdl.exe -largs grt-cbinding.o clock.o grt-cvpi.o memsegs_c.o win32.o -largs -Wl,--stack,8404992
-
-if errorlevel 1 goto failed
-
-strip ghdl.exe
-
-cd ..
-exit /b 0
-
-:failed
-echo "Compilation failed"
-cd ..
-exit /b 1
-
diff --git a/src/translate/mcode/windows/complib.bat b/src/translate/mcode/windows/complib.bat
deleted file mode 100644
index 88a43ce..0000000
--- a/src/translate/mcode/windows/complib.bat
+++ /dev/null
@@ -1,68 +0,0 @@
-set GHDL=ghdl
-
-cd build
-gnatmake -aI..\windows ghdlfilter
-cd ..
-
-set REL=..\..\..
-set LIBSRC=%REL%\..\..\libraries
-set STD_SRCS=textio textio_body
-set IEEE_SRCS=std_logic_1164 std_logic_1164_body numeric_std numeric_std-body numeric_bit numeric_bit-body
-set VITAL95_SRCS=vital_timing vital_timing_body vital_primitives vital_primitives_body
-set VITAL2000_SRCS=timing_p timing_b prmtvs_p prmtvs_b memory_p memory_b
-
-set SYNOPSYS_SRCS=std_logic_arith std_logic_textio std_logic_unsigned std_logic_signed std_logic_misc std_logic_misc-body
-
-mkdir lib
-cd lib
-
-mkdir v87
-cd v87
-
-mkdir std
-cd std
-for %%F in (%STD_SRCS%) do %REL%\build\ghdlfilter -v87 < %LIBSRC%\std\%%F.vhdl > %%F.v87 && %REL%\build\%GHDL% -a --std=87 --bootstrap --work=std %%F.v87
-cd ..
-
-mkdir ieee
-cd ieee
-rem Base ieee
-for %%F in (%IEEE_SRCS%) do %REL%\build\ghdlfilter -v87 < %LIBSRC%\ieee\%%F.vhdl > %%F.v87 && %REL%\build\%GHDL% -a --std=87 -P..\std --work=ieee %%F.v87
-rem Vital 95
-for %%F in (%VITAL95_SRCS%) do copy %LIBSRC%\vital95\%%F.vhdl %%F.vhd && %REL%\build\%GHDL% -a --std=87 -P..\std --work=ieee %%F.vhd
-cd ..
-
-mkdir synopsys
-cd synopsys
-for %%F in (%IEEE_SRCS%) do %REL%\build\%GHDL% -a --std=87 -P..\std --work=ieee ..\ieee\%%F.v87
-for %%F in (%VITAL95_SRCS%) do %REL%\build\%GHDL% -a --std=87 -P..\std --work=ieee ..\ieee\%%F.vhd
-for %%F in (%SYNOPSYS_SRCS%) do copy %LIBSRC%\synopsys\%%F.vhdl %%F.vhd && %REL%\build\%GHDL% -a --std=87 -P..\std --work=ieee %%F.vhd
-cd ..
-
-cd ..
-mkdir v93
-cd v93
-
-mkdir std
-cd std
-for %%F in (%STD_SRCS%) do %REL%\build\ghdlfilter -v93 < %LIBSRC%\std\%%F.vhdl > %%F.v93 && %REL%\build\%GHDL% -a --std=93 --bootstrap --work=std %%F.v93
-cd ..
-
-mkdir ieee
-cd ieee
-echo Base ieee
-for %%F in (%IEEE_SRCS%) do %REL%\build\ghdlfilter -v93 < %LIBSRC%\ieee\%%F.vhdl > %%F.v93 && %REL%\build\%GHDL% -a --std=93 -P..\std --work=ieee %%F.v93
-echo Vital 2000
-for %%F in (%VITAL2000_SRCS%) do copy %LIBSRC%\vital2000\%%F.vhdl %%F.vhd && %REL%\build\%GHDL% -a --std=93 -P..\std --work=ieee %%F.vhd
-cd ..
-
-mkdir synopsys
-cd synopsys
-for %%F in (%IEEE_SRCS%) do %REL%\build\%GHDL% -a --std=93 -P..\std --work=ieee ..\ieee\%%F.v93
-for %%F in (%VITAL2000_SRCS%) do %REL%\build\%GHDL% -a --std=93 -P..\std --work=ieee ..\ieee\%%F.vhd
-for %%F in (%SYNOPSYS_SRCS%) do %REL%\build\%GHDL% -a --std=93 -P..\std --work=ieee ..\..\v87\synopsys\%%F.vhd
-cd ..
-
-cd ..
-
-cd ..
diff --git a/src/translate/mcode/windows/default_pathes.ads b/src/translate/mcode/windows/default_pathes.ads
deleted file mode 100644
index 51b350f..0000000
--- a/src/translate/mcode/windows/default_pathes.ads
+++ /dev/null
@@ -1,8 +0,0 @@
-with Windows_Default_Path;
-pragma Elaborate_All (Windows_Default_Path);
-
-package Default_Pathes is
- Install_Prefix : constant String :=
- Windows_Default_Path.Get_Windows_Exec_Path;
- Lib_Prefix : constant String := "lib";
-end Default_Pathes;
diff --git a/src/translate/mcode/windows/ghdl.nsi b/src/translate/mcode/windows/ghdl.nsi
deleted file mode 100644
index aa4d559..0000000
--- a/src/translate/mcode/windows/ghdl.nsi
+++ /dev/null
@@ -1,455 +0,0 @@
-; ghdl.nsi
-;
-; This script is based on example2.nsi.
-; remember the directory,
-; Check if administrator
-; uninstall support
-; TODO:
-; * allow multiple version
-; * command line installation
-; * Allow user install
-
-;--------------------------------
-!include version.nsi
-;--------------------------------
-
-; The name of the installer
-Name "Ghdl"
-
-; The file to write
-OutFile "ghdl-installer-${VERSION}.exe"
-
-SetDateSave on
-
-; The default installation directory
-InstallDir $PROGRAMFILES\Ghdl
-
-; Registry key to check for directory (so if you install again, it will
-; overwrite the old one automatically)
-InstallDirRegKey HKLM "Software\Ghdl" "Install_Dir"
-
-LicenseData ..\..\..\COPYING
-; LicenseForceSelection
-
-;--------------------------------
-
-; Pages
-
-Page license
-Page components
-Page directory
-Page instfiles
-
-UninstPage uninstConfirm
-UninstPage instfiles
-
-;--------------------------------
-Function .onInit
- Call IsNT
- pop $R0
- StrCmp $R0 1 nt_ok
- MessageBox MB_OK|MB_ICONEXCLAMATION "You must use Windows NT (XP/2000/Me...)"
- Quit
-
-nt_ok:
- Call IsUserAdmin
- Pop $R0
- StrCmp $R0 "true" Admin
- MessageBox MB_OK|MB_ICONEXCLAMATION "You must have Admin rights"
- Quit
-
-Admin:
-
- ;;; Check if already installed.
- ReadRegStr $0 HKLM "Software\Ghdl" "Install_Dir"
- IfErrors not_installed
- ReadRegStr $0 HKLM "Software\Ghdl" "Version"
- IfErrors unknown_prev_version
- Goto known_version
-unknown_prev_version:
- StrCpy $0 "(unknown)"
-known_version:
- MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "You already have GHDL version $0 installed. Deinstall ?" IDCANCEL install_abort IDOK deinstall
-install_abort:
- Abort "Installation aborted"
-deinstall:
- ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl" "UninstallString"
- IfErrors deinstall_failed
-
- ; First version of the GHDL installer adds quotes
- StrCpy $1 $0 1
- StrCmp $1 '"' 0 str_ok
- StrCpy $1 $0 "" 1
- StrCpy $0 $1 -1
-str_ok:
-
- ; Read install dir
- ReadRegStr $1 HKLM "Software\Ghdl" "Install_Dir"
- IfErrors deinstall_failed
-
-; MessageBox MB_OK 'copy $0 to $TEMP'
-
- ClearErrors
-; MessageBox MB_OK 'copy $0 to $TEMP'
- CopyFiles $0 $TEMP
- IfErrors deinstall_failed
- ExecWait '"$TEMP\uninst-ghdl.exe" /S _?=$1'
- IfErrors deinstall_failed
- Delete "$TEMP\uninst-ghdl.exe"
- Return
-deinstall_failed:
- Delete $TEMP\uninst-ghdl.exe
- MessageBox MB_YESNO|MB_ICONSTOP "Can't deinstall GHDL: de-installer not found or failed. Continue installation ?" IDNO install_abort
-not_installed:
- Return
-FunctionEnd
-
-;--------------------------------
-
-; The stuff to install
-Section "Ghdl Compiler (required)"
-
- SectionIn RO
-
- ; Set output path to the installation directory.
- SetOutPath $INSTDIR\bin
- File /oname=ghdl.exe ..\build\ghdl.exe
-
- SetOutPath $INSTDIR
- File /oname=COPYING.txt ..\..\..\COPYING
-
- ; Write the installation path into the registry
- WriteRegStr HKLM "Software\Ghdl" "Install_Dir" $INSTDIR
- ; Write te version
- WriteRegStr HKLM "Software\Ghdl" "Version" ${VERSION}
-
- ; Write the uninstall keys for Windows
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl" "DisplayName" "Ghdl"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl" "UninstallString" $INSTDIR\uninst-ghdl.exe
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl" "NoModify" 1
- WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl" "NoRepair" 1
- WriteUninstaller $INSTDIR\uninst-ghdl.exe"
-
-SectionEnd
-
-Section "VHDL standard and ieee libraries"
- SectionIn RO
- SetOutPath $INSTDIR\lib\v87
- File /r ..\lib\v87\std ..\lib\v87\ieee
- SetOutPath $INSTDIR\lib\v93
- File /r ..\lib\v93\std ..\lib\v93\ieee
-SectionEnd
-
-Section "Synopsys libraries (Recommended)"
- SetOutPath $INSTDIR\lib\v87
- File /r ..\lib\v87\synopsys
- SetOutPath $INSTDIR\lib\v93
- File /r ..\lib\v93\synopsys
-SectionEnd
-
-Section "Documentation (Recommended)"
- SetOutPath $INSTDIR
- File /oname=ghdl.htm ..\..\..\doc\ghdl.html
-SectionEnd
-
-Section "Add in PATH (Recommended)"
- WriteRegDWORD HKLM "Software\Ghdl" "PathSet" 1
- Push $INSTDIR\Bin
- Call AddToPath
-SectionEnd
-
-; Optional section (can be disabled by the user)
-;Section "Start Menu Shortcuts"
-;
-; CreateDirectory "$SMPROGRAMS\Ghdl"
-; CreateShortCut "$SMPROGRAMS\Ghdl\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
-; CreateShortCut "$SMPROGRAMS\Ghdl\Ghdl.lnk" "$INSTDIR\example2.nsi" "" "$INSTDIR\example2.nsi" 0
-;
-;SectionEnd
-;
-
-;--------------------------------
-
-; Uninstaller
-
-Section "Uninstall"
-
- ReadRegDWORD $0 HKLM "Software\Ghdl" "PathSet"
- StrCmp $0 "1" "" path_not_set
- Push $INSTDIR\Bin
- Call un.RemoveFromPath
-
-path_not_set:
-
- ; Remove registry keys
- DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Ghdl"
- DeleteRegKey HKLM Software\Ghdl
-
- ; Remove files and uninstaller
- Delete $INSTDIR\bin\ghdl.exe
- Delete $INSTDIR\uninst-ghdl.exe
- Delete $INSTDIR\COPYING.txt
- RMDir $INSTDIR\bin
- RMDir /r $INSTDIR\lib
-
-
- ; Remove shortcuts, if any
- ; Delete "$SMPROGRAMS\Ghdl\*.*"
-
- ; Remove directories used
- ; RMDir "$SMPROGRAMS\Ghdl"
- RMDir "$INSTDIR"
-
-SectionEnd
-
-;;;;;;;; Misc functions
-
-; Author: Lilla (lilla@earthlink.net) 2003-06-13
-; function IsUserAdmin uses plugin \NSIS\PlusgIns\UserInfo.dll
-; This function is based upon code in \NSIS\Contrib\UserInfo\UserInfo.nsi
-; This function was tested under NSIS 2 beta 4 (latest CVS as of this writing).
-;
-; Usage:
-; Call IsUserAdmin
-; Pop $R0 ; at this point $R0 is "true" or "false"
-;
-Function IsUserAdmin
-Push $R0
-Push $R1
-Push $R2
-
-ClearErrors
-UserInfo::GetName
-IfErrors Win9x
-Pop $R1
-UserInfo::GetAccountType
-Pop $R2
-
-StrCmp $R2 "Admin" 0 Continue
-; Observation: I get here when running Win98SE. (Lilla)
-; The functions UserInfo.dll looks for are there on Win98 too,
-; but just don't work. So UserInfo.dll, knowing that admin isn't required
-; on Win98, returns admin anyway. (per kichik)
-; MessageBox MB_OK 'User "$R1" is in the Administrators group'
-StrCpy $R0 "true"
-Goto Done
-
-Continue:
-; You should still check for an empty string because the functions
-; UserInfo.dll looks for may not be present on Windows 95. (per kichik)
-StrCmp $R2 "" Win9x
-StrCpy $R0 "false"
-;MessageBox MB_OK 'User "$R1" is in the "$R2" group'
-Goto Done
-
-Win9x:
-; comment/message below is by UserInfo.nsi author:
-; This one means you don't need to care about admin or
-; not admin because Windows 9x doesn't either
-;MessageBox MB_OK "Error! This DLL can't run under Windows 9x!"
-StrCpy $R0 "true"
-
-Done:
-;MessageBox MB_OK 'User= "$R1" AccountType= "$R2" IsUserAdmin= "$R0"'
-
-Pop $R2
-Pop $R1
-Exch $R0
-FunctionEnd
-
-
-!define ALL_USERS
-
-!ifndef WriteEnvStr_RegKey
- !ifdef ALL_USERS
- !define WriteEnvStr_RegKey \
- 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
- !else
- !define WriteEnvStr_RegKey 'HKCU "Environment"'
- !endif
-!endif
-
-!verbose 3
-!include "WinMessages.NSH"
-!verbose 4
-
-; AddToPath - Adds the given dir to the search path.
-; Input - head of the stack
-; Note - Win9x systems requires reboot
-
-Function AddToPath
- Exch $0
- Push $1
- Push $2
- Push $3
-
- # don't add if the path doesn't exist
- IfFileExists "$0\*.*" "" AddToPath_done
-
- ReadEnvStr $1 PATH
- Push "$1;"
- Push "$0;"
- Call StrStr
- Pop $2
- StrCmp $2 "" "" AddToPath_done
- Push "$1;"
- Push "$0\;"
- Call StrStr
- Pop $2
- StrCmp $2 "" "" AddToPath_done
- GetFullPathName /SHORT $3 $0
- Push "$1;"
- Push "$3;"
- Call StrStr
- Pop $2
- StrCmp $2 "" "" AddToPath_done
- Push "$1;"
- Push "$3\;"
- Call StrStr
- Pop $2
- StrCmp $2 "" "" AddToPath_done
-
- ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
- StrCpy $2 $1 1 -1 # copy last char
- StrCmp $2 ";" 0 +2 # if last char == ;
- StrCpy $1 $1 -1 # remove last char
- StrCmp $1 "" AddToPath_NTdoIt
- StrCpy $0 "$1;$0"
- AddToPath_NTdoIt:
- WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $0
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
-
- AddToPath_done:
- Pop $3
- Pop $2
- Pop $1
- Pop $0
-FunctionEnd
-
-; RemoveFromPath - Remove a given dir from the path
-; Input: head of the stack
-
-Function un.RemoveFromPath
- Exch $0
- Push $1
- Push $2
- Push $3
- Push $4
- Push $5
- Push $6
-
- IntFmt $6 "%c" 26 # DOS EOF
-
- ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
- StrCpy $5 $1 1 -1 # copy last char
- StrCmp $5 ";" +2 # if last char != ;
- StrCpy $1 "$1;" # append ;
- Push $1
- Push "$0;"
- Call un.StrStr ; Find `$0;` in $1
- Pop $2 ; pos of our dir
- StrCmp $2 "" unRemoveFromPath_done
- ; else, it is in path
- # $0 - path to add
- # $1 - path var
- StrLen $3 "$0;"
- StrLen $4 $2
- StrCpy $5 $1 -$4 # $5 is now the part before the path to remove
- StrCpy $6 $2 "" $3 # $6 is now the part after the path to remove
- StrCpy $3 $5$6
-
- StrCpy $5 $3 1 -1 # copy last char
- StrCmp $5 ";" 0 +2 # if last char == ;
- StrCpy $3 $3 -1 # remove last char
-
- WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $3
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
-
- unRemoveFromPath_done:
- Pop $6
- Pop $5
- Pop $4
- Pop $3
- Pop $2
- Pop $1
- Pop $0
-FunctionEnd
-
-###########################################
-# Utility Functions #
-###########################################
-
-; IsNT
-; no input
-; output, top of the stack = 1 if NT or 0 if not
-;
-; Usage:
-; Call IsNT
-; Pop $R0
-; ($R0 at this point is 1 or 0)
-
-!macro IsNT un
-Function ${un}IsNT
- Push $0
- ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
- StrCmp $0 "" 0 IsNT_yes
- ; we are not NT.
- Pop $0
- Push 0
- Return
-
- IsNT_yes:
- ; NT!!!
- Pop $0
- Push 1
-FunctionEnd
-!macroend
-!insertmacro IsNT ""
-;!insertmacro IsNT "un."
-
-; StrStr
-; input, top of stack = string to search for
-; top of stack-1 = string to search in
-; output, top of stack (replaces with the portion of the string remaining)
-; modifies no other variables.
-;
-; Usage:
-; Push "this is a long ass string"
-; Push "ass"
-; Call StrStr
-; Pop $R0
-; ($R0 at this point is "ass string")
-
-!macro StrStr un
-Function ${un}StrStr
-Exch $R1 ; st=haystack,old$R1, $R1=needle
- Exch ; st=old$R1,haystack
- Exch $R2 ; st=old$R1,old$R2, $R2=haystack
- Push $R3
- Push $R4
- Push $R5
- StrLen $R3 $R1
- StrCpy $R4 0
- ; $R1=needle
- ; $R2=haystack
- ; $R3=len(needle)
- ; $R4=cnt
- ; $R5=tmp
- loop:
- StrCpy $R5 $R2 $R3 $R4
- StrCmp $R5 $R1 done
- StrCmp $R5 "" done
- IntOp $R4 $R4 + 1
- Goto loop
-done:
- StrCpy $R1 $R2 "" $R4
- Pop $R5
- Pop $R4
- Pop $R3
- Pop $R2
- Exch $R1
-FunctionEnd
-!macroend
-!insertmacro StrStr ""
-!insertmacro StrStr "un."
-
diff --git a/src/translate/mcode/windows/ghdlfilter.adb b/src/translate/mcode/windows/ghdlfilter.adb
deleted file mode 100644
index d37c2db..0000000
--- a/src/translate/mcode/windows/ghdlfilter.adb
+++ /dev/null
@@ -1,58 +0,0 @@
-with Ada.Command_Line; use Ada.Command_Line;
-with Ada.Text_IO; use Ada.Text_IO;
-
-procedure Ghdlfilter is
- type Mode_Kind is (Mode_93, Mode_87);
- Mode : Mode_Kind;
-
- Line : String (1 .. 128);
- Len : Natural;
-
- Comment : Boolean;
- Block_Comment : Boolean;
-begin
- if Argument_Count /= 1 then
- Put_Line (Standard_Error, "usage: " & Command_Name & " -v93|-v87");
- return;
- end if;
-
- if Argument (1) = "-v93" then
- Mode := Mode_93;
- elsif Argument (1) = "-v87" then
- Mode := Mode_87;
- else
- Put_Line (Standard_Error, "bad mode");
- return;
- end if;
-
- Block_Comment := False;
-
- loop
- exit when End_Of_File;
- Get_Line (Line, Len);
-
- Comment := Block_Comment;
-
- if Len > 5 then
- if Mode = Mode_87 and Line (Len - 4 .. Len) = "--V93" then
- Comment := True;
- elsif Mode = Mode_93 and Line (Len - 4 .. Len) = "--V87" then
- Comment := True;
- end if;
- end if;
- if Len = 11
- and then Mode = Mode_87
- and then Line (1 .. 11) = "--START-V93" then
- Block_Comment := True;
- end if;
-
- if Len = 9 and then Line (1 .. 9) = "--END-V93" then
- Block_Comment := False;
- end if;
-
- if Comment then
- Put ("-- ");
- end if;
- Put_Line (Line (1 .. Len));
- end loop;
-end Ghdlfilter;
diff --git a/src/translate/mcode/windows/ghdlversion.adb b/src/translate/mcode/windows/ghdlversion.adb
deleted file mode 100755
index d2f1c28..0000000
--- a/src/translate/mcode/windows/ghdlversion.adb
+++ /dev/null
@@ -1,30 +0,0 @@
-with Ada.Text_IO; use Ada.Text_IO;
-with Ada.Strings.Fixed; use Ada.Strings.Fixed;
-
-procedure Ghdlversion is
- Line : String (1 .. 128);
- Len : Natural;
- Pos : Natural;
- E : Natural;
-begin
- loop
- exit when End_Of_File;
- Get_Line (Line, Len);
-
- -- Search GHDL
- Pos := Index (Line (1 .. Len), "GHDL ");
- if Pos /= 0 then
- Pos := Pos + 5;
- E := Pos;
- while Line (E) in '0' .. '9'
- or Line (E) in 'a' .. 'z'
- or Line (E) = '.'
- loop
- exit when E = Len;
- E := E + 1;
- end loop;
- Put_Line ("!define VERSION """ & Line (Pos .. E - 1) & """");
- return;
- end if;
- end loop;
-end Ghdlversion;
diff --git a/src/translate/mcode/windows/grt-modules.adb b/src/translate/mcode/windows/grt-modules.adb
deleted file mode 100644
index 35b27c3..0000000
--- a/src/translate/mcode/windows/grt-modules.adb
+++ /dev/null
@@ -1,37 +0,0 @@
--- GHDL Run Time (GRT) - Modules.
--- Copyright (C) 2005 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, or (at your option) any later
--- version.
---
--- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
--- WARRANTY; without even the implied warranty of MERCHANTABILITY or
--- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
--- for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with GCC; see the file COPYING. If not, write to the Free
--- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
--- 02111-1307, USA.
-with System.Storage_Elements; -- Work around GNAT bug.
-with Grt.Vcd;
-with Grt.Vpi;
-with Grt.Waves;
-with Grt.Vital_Annotate;
-with Grt.Disp_Tree;
-with Grt.Disp_Rti;
-
-package body Grt.Modules is
- procedure Register_Modules is
- begin
- -- List of modules to be registered.
- Grt.Disp_Tree.Register;
- Grt.Vcd.Register;
- Grt.Waves.Register;
- Grt.Vpi.Register;
- Grt.Vital_Annotate.Register;
- Grt.Disp_Rti.Register;
- end Register_Modules;
-end Grt.Modules;
diff --git a/src/translate/mcode/windows/ortho_code-x86-flags.ads b/src/translate/mcode/windows/ortho_code-x86-flags.ads
deleted file mode 100644
index 8915f31..0000000
--- a/src/translate/mcode/windows/ortho_code-x86-flags.ads
+++ /dev/null
@@ -1,2 +0,0 @@
-with Ortho_Code.X86.Flags_Windows;
-package Ortho_Code.X86.Flags renames Ortho_Code.X86.Flags_Windows;
diff --git a/src/translate/mcode/windows/windows_default_path.adb b/src/translate/mcode/windows/windows_default_path.adb
deleted file mode 100644
index 23aa2f6..0000000
--- a/src/translate/mcode/windows/windows_default_path.adb
+++ /dev/null
@@ -1,45 +0,0 @@
-with Interfaces.C; use Interfaces.C;
-with System; use System;
-
-package body Windows_Default_Path is
-
- subtype DWORD is Interfaces.C.Unsigned_Long;
- subtype LPWSTR is String;
- subtype HINSTANCE is Address;
- function GetModuleFileName (Inst : HINSTANCE; Buf : Address; Size : DWORD)
- return DWORD;
- pragma Import (Stdcall, GetModuleFileName, "GetModuleFileNameA");
-
- function Get_Windows_Exec_Path return String
- is
- File : String (1 .. 256);
- Size : DWORD;
- P : Natural;
- begin
- -- Get exe file path.
- Size := GetModuleFileName (Null_Address, File'Address, File'Length);
- if Size = 0 or Size = File'Length then
- return "{cannot find install path}\lib";
- end if;
-
- -- Remove Program file.
- P := Natural (Size);
- while P > 0 loop
- exit when File (P) = '\';
- exit when File (P) = ':' and P = 2;
- P := P - 1;
- end loop;
- if File (P) = '\' and P > 1 then
- -- Remove directory
- P := P - 1;
- while P > 0 loop
- exit when File (P) = '\';
- exit when File (P) = ':' and P = 2;
- P := P - 1;
- end loop;
- end if;
-
- return File (1 .. P);
- end Get_Windows_Exec_Path;
-end Windows_Default_Path;
-
diff --git a/src/translate/mcode/windows/windows_default_path.ads b/src/translate/mcode/windows/windows_default_path.ads
deleted file mode 100644
index 8e63034..0000000
--- a/src/translate/mcode/windows/windows_default_path.ads
+++ /dev/null
@@ -1,5 +0,0 @@
-package Windows_Default_Path is
- -- Get the default path from executable name.
- -- This function is called during elaboration!
- function Get_Windows_Exec_Path return String;
-end Windows_Default_Path;