On Sat, 2014-01-04 at 13:24 +1300, David Koontz wrote:
> Can you try building against gcc-4.8.2?
> 

It works. Using the [gcc-aux](http://www.dragonlace.net/) compiler on
FreeBSD-9.2(i386), it's possible to compile the gcc-4.8.2 / GHDL-0.31dev
source and get a working VHDL compiler.

I obtained the gcc-4.8.2 source through the ports system:

[/usr/ports/lang/gcc48]$ sudo make config fetch checksum extract patch
[/usr/ports/lang/gcc48/work]$ cp -R
gcc-4.8-20130808 /home/hanzer/third-party/source/

After that, two small changes were needed:

/home/hanzer/third-party/build_gcc.sh
12c12
< SOURCEDIR=$BASEDIR/source/gcc-4.8-20130808
---
> SOURCEDIR=$BASEDIR/source/gcc-4.7.3


/home/hanzer/third-party/source/ghdl-0.31dev/vhdl/Makefile.in
513c513
<   ADAC=ada
---
>   ADAC=gnatgcc

There is not a "gnatgcc" in this environment. Other than these two
changes, the procedure that was described earlier in this thread was
followed. After primary compilation completed:

[/home/hanzer/third-party/build]$ gmake install

This finished the job. 

I need to refine the process a bit then try it on an x86_64 system.

Thanks for the really amazing response and help.


BTW - I found the [GHDL guide][1]. Nice work! I will study and enjoy it
thoroughly!

[1]:
http://sourceforge.net/p/ghdl-updates/code/ci/13813f3ba0ec35705530eef172f7d7a318cf4e40/tree/doc/ghdl.html?format=raw


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to