diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-11-08 07:13:08 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-11-08 07:13:08 +0100 |
commit | 4ef1adc1294c586f683a20a488120e6e42b4e6e2 (patch) | |
tree | 32b030d71e312ae6e81c419df4c27f4eabf17964 /README | |
parent | 59ddac0209695d4f54c88f77e7a954feb5ab1aec (diff) | |
download | ghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.tar.gz ghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.tar.bz2 ghdl-4ef1adc1294c586f683a20a488120e6e42b4e6e2.zip |
configure/Makefile: support build for gcc.
Diffstat (limited to 'README')
-rw-r--r-- | README | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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 |