aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD.txt
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-05-21 08:20:21 +0200
committerTristan Gingold <tgingold@free.fr>2017-05-21 08:20:21 +0200
commitb8b67030862c2e55aa161d80571f4baa448fca5b (patch)
tree298196c71df15d1d223a1930a7886bd6371ea115 /BUILD.txt
parentc825c4dc0a693b44333802d6e7075d552a75e35b (diff)
downloadghdl-b8b67030862c2e55aa161d80571f4baa448fca5b.tar.gz
ghdl-b8b67030862c2e55aa161d80571f4baa448fca5b.tar.bz2
ghdl-b8b67030862c2e55aa161d80571f4baa448fca5b.zip
Add gcc 7.x as a backend.
Diffstat (limited to 'BUILD.txt')
-rw-r--r--BUILD.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/BUILD.txt b/BUILD.txt
index 37f2bad78..2d059a034 100644
--- a/BUILD.txt
+++ b/BUILD.txt
@@ -50,7 +50,7 @@ Building with the gcc backend
*****************************
You need to download and untar the sources of
-gcc version 4.9.x, 5.x or 6.x
+gcc version 4.9.x, 5.x, 6.x or 7.x
First configure ghdl, specify gcc source dir and prefix.
(replace /usr/local by your prefix directory):
@@ -121,4 +121,8 @@ $ make ghdl_gcc # To build the driver
$ make libs.vhdl.local_gcc # To compile the vhdl libraries
$ make grt-all # To build the ghdl runtime
$ make grt.links # To locally install the ghdl runtime
-TODO: gcc object dir
+
+In src/ortho/gcc, create a Makefile.conf file that sets the following
+variables:
+AGCC_GCCSRC_DIR=/path/to/gcc/sources
+AGCC_GCCOBJ_DIR=/path/to/gcc/build