diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-09-06 06:43:21 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-09-06 06:43:21 +0200 |
commit | 75fcb55685369ab176541cdce4b0874bd1774f55 (patch) | |
tree | 7fd55fc6c2ce1dc35966ed1413545c55eca5c2e3 /translate/ghdldrv/Makefile | |
parent | fe6ff5794545ce9f7d00985b55cf9d5b18725ea0 (diff) | |
download | ghdl-75fcb55685369ab176541cdce4b0874bd1774f55.tar.gz ghdl-75fcb55685369ab176541cdce4b0874bd1774f55.tar.bz2 ghdl-75fcb55685369ab176541cdce4b0874bd1774f55.zip |
First run of OSVVM_2014_01 with gcc backend.
Diffstat (limited to 'translate/ghdldrv/Makefile')
-rw-r--r-- | translate/ghdldrv/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/translate/ghdldrv/Makefile b/translate/ghdldrv/Makefile index fc243125e..c4464268d 100644 --- a/translate/ghdldrv/Makefile +++ b/translate/ghdldrv/Makefile @@ -15,7 +15,7 @@ # 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. -GNATFLAGS=-gnaty3befhkmr -gnata -gnatwae -aI../.. -aI.. -aI../../psl -aI../grt -aO.. -g -gnatf -gnat05 +GNATFLAGS=-gnaty3befhkmr -gnata -gnatwael -aI../.. -aI.. -aI../../psl -aI../grt -aO.. -g -gnatf -gnat05 GRT_FLAGS=-g LIB_CFLAGS=-g -O2 GNATMAKE=gnatmake @@ -142,18 +142,32 @@ else $(RM) std_standard.s endif +$(LIB08_DIR)/std/std_standard.o: $(GHDL1) +ifeq ($(GHDL),ghdl_llvm) + $(GHDL1) --std=08 -quiet $(LIB_CFLAGS) -c -o $@ --compile-standard +else + $(GHDL1) --std=08 -quiet $(LIB_CFLAGS) -o std_standard.s \ + --compile-standard + $(CC) -c -o $@ std_standard.s + $(RM) std_standard.s +endif + install.v93: std.v93 ieee.v93 synopsys.v93 mentor.v93 install.v87: std.v87 ieee.v87 synopsys.v87 install.v08: std.v08 ieee.v08 install.standard: $(LIB93_DIR)/std/std_standard.o \ - $(LIB87_DIR)/std/std_standard.o + $(LIB87_DIR)/std/std_standard.o \ + $(LIB08_DIR)/std/std_standard.o grt.links: cd ../lib; ln -sf $(GRTSRCDIR)/grt.lst .; ln -sf $(GRTSRCDIR)/libgrt.a .; ln -sf $(GRTSRCDIR)/grt.ver . install.all: install.v87 install.v93 install.standard +install.gcc: + $(MAKE) GHDL=ghdl_gcc install.v08 #install.v87 install.v93 install.v08 + install.mcode: $(MAKE) GHDL=ghdl_mcode install.v87 install.v93 install.v08 |