aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-11-08 07:13:08 +0100
committerTristan Gingold <tgingold@free.fr>2014-11-08 07:13:08 +0100
commit4ef1adc1294c586f683a20a488120e6e42b4e6e2 (patch)
tree32b030d71e312ae6e81c419df4c27f4eabf17964 /README
parent59ddac0209695d4f54c88f77e7a954feb5ab1aec (diff)
downloadghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.tar.gz
ghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.tar.bz2
ghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.zip
configure/Makefile: support build for gcc.
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 20 insertions, 1 deletions
diff --git a/README b/README
index e2627193d..b02f1ffa0 100644
--- a/README
+++ b/README
@@ -68,8 +68,27 @@ $ make install
To install within PREFIX
* Building with the gcc backend
-TODO
+You need to download and untar the sources of
+gcc version 4.9.2 [do not modify this line as this is read by scripts].
+
+First configure ghdl and specify gcc source dir:
+$ ./configure --with-gcc=/path/to/gcc/source/dir
+
+The configure gcc following the gcc instructions and also enable vhdl
+languages (you can use --enable-languages=c,vhdl --disable-bootstrap)
* Building with the llvm backend
TODO
+Notes for developpers
+*********************
+
+Developping with the gcc backend:
+Once gcc (with ghdl) has been built once, it is possible to work on ghdl
+sources tree without copying them in gcc tree. Commands are:
+$ make ghdl1-gcc # To build the compiler
+$ make ghdl_gcc # To build the driver
+$ make libs.vhdl.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