summaryrefslogtreecommitdiff
path: root/ortho/gcc
diff options
context:
space:
mode:
authorBrian Drummond2014-01-20 14:01:47 +0000
committerBrian Drummond2014-01-20 14:01:47 +0000
commit43b86b4e1a23a3293c7f99c5a7bdebdd78ad11db (patch)
tree793ab3f6cad8a8ef4cd23f1d461c440505983c87 /ortho/gcc
parent4654785c16670cedf8bb009d946761548f933dbc (diff)
downloadghdl-43b86b4e1a23a3293c7f99c5a7bdebdd78ad11db.tar.gz
ghdl-43b86b4e1a23a3293c7f99c5a7bdebdd78ad11db.tar.bz2
ghdl-43b86b4e1a23a3293c7f99c5a7bdebdd78ad11db.zip
Add example Makefile.conf, remove duplicate libs from Makefile
Diffstat (limited to 'ortho/gcc')
-rw-r--r--ortho/gcc/Makefile4
-rw-r--r--ortho/gcc/Makefile.conf.linux4
2 files changed, 5 insertions, 3 deletions
diff --git a/ortho/gcc/Makefile b/ortho/gcc/Makefile
index 9db53c5..01a33d0 100644
--- a/ortho/gcc/Makefile
+++ b/ortho/gcc/Makefile
@@ -39,9 +39,7 @@ LIBIBERTY = $(AGCC_GCCOBJ_DIR)/libiberty/libiberty.a
CPPLIB= # Not needed for GHDL
BACKEND = $(AGCC_GCCOBJ_DIR)/gcc/libbackend.a \
- $(AGCC_GCCOBJ_DIR)/gcc/libcommon-target.a \
- $(AGCC_GCCOBJ_DIR)/gcc/libcommon.a \
- $(CPPLIB) $(LIBDECNUMBER)
+ $(AGCC_GCCOBJ_DIR)/gcc/libcommon-target.a
BACKENDLIBS = $(CLOOGLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
$(ZLIB)
diff --git a/ortho/gcc/Makefile.conf.linux b/ortho/gcc/Makefile.conf.linux
new file mode 100644
index 0000000..00ea917
--- /dev/null
+++ b/ortho/gcc/Makefile.conf.linux
@@ -0,0 +1,4 @@
+# Example Makefile.conf
+# Copy this file to Makefile.conf and edit as necessary for your platform
+
+HOST_LIBS = -ldl -lstdc++