aboutsummaryrefslogtreecommitdiffstats
path: root/ortho/gcc
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2009-09-21 03:46:42 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2009-09-21 03:46:42 +0000
commit9e9f8604f11d93894990e7733127d083abab8f3e (patch)
tree24e35d22157442340b7f52954f5133905b577456 /ortho/gcc
parent2dc407beb7dde9f0c986ee14e80f3ac43398e8bb (diff)
downloadghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.gz
ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.tar.bz2
ghdl-9e9f8604f11d93894990e7733127d083abab8f3e.zip
Version 0.28.
Diffstat (limited to 'ortho/gcc')
-rw-r--r--ortho/gcc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ortho/gcc/Makefile b/ortho/gcc/Makefile
index 18fc0b106..09ae08c93 100644
--- a/ortho/gcc/Makefile
+++ b/ortho/gcc/Makefile
@@ -2,10 +2,11 @@ ortho_srcdir=..
orthobe_srcdir=$(ortho_srcdir)/gcc
agcc_objdir=.
agcc_srcdir=$(ortho_srcdir)/gcc
-AGCC_GCCSRC_DIR:=$(HOME)/dist/gcc-4.3.1
+AGCC_GCCSRC_DIR:=$(HOME)/dist/gcc-4.3.4
AGCC_GCCOBJ_DIR:=$(AGCC_GCCSRC_DIR)-objs/
SED=sed
GNATMAKE=gnatmake
+CC=gcc
all: $(ortho_exec)
@@ -14,6 +15,7 @@ include $(orthobe_srcdir)/Makefile.inc
ORTHO_BASENAME=$(orthobe_srcdir)/ortho_gcc
ORTHO_PACKAGE=Ortho_Gcc
+LIBFLAGS=$(HOME)/dist/mpfr-2.3.1/.libs/libmpfr.a $(HOME)/dist/gmp-4.2.2/.libs/libgmp.a
$(ortho_exec): $(AGCC_DEPS) $(ORTHO_BASENAME).ads force
$(GNATMAKE) -m -o $@ -g -aI$(ortho_srcdir) \
@@ -22,7 +24,7 @@ $(ortho_exec): $(AGCC_DEPS) $(ORTHO_BASENAME).ads force
$(AGCC_GCCOBJ_DIR)libcpp/libcpp.a \
$(AGCC_GCCOBJ_DIR)libiberty/libiberty.a \
$(AGCC_GCCOBJ_DIR)libdecnumber/libdecnumber.a \
- -lmpfr -lgmp #-static
+ $(LIBFLAGS) #-static
clean: agcc-clean
$(RM) -f *.o *.ali ortho_nodes-main