On 9/30/06, anders elmen <[EMAIL PROTECTED]> wrote:
but when compiling, I get the following message

gnatgcc -c -I./ -I../../../gcc/vhdl/grt
-gnatec../../../gcc/vhdl/grt/grt.adc -O -g -I-
/home/anders/gcc-4.1.1/gcc/vhdl/grt/grt-unithread.adb
gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali
gcc -c -O -g -gnatec../../../gcc/vhdl/grt/grt.adc -o run-bind.o run-bind.adb
gcc: run-bind.adb: Ada compiler not installed on this system
make[3]: *** [run-bind.o] Error 1
make[3]: Leaving directory `/home/anders/gcc- 4.1.1/objdir/gcc/vhdl'
make[2]: *** [ghdllib] Error 2
make[2]: Leaving directory `/home/anders/gcc-4.1.1/objdir/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/anders/gcc-4.1.1/objdir'
make: *** [all] Error 2

I'm sure that I have gnat installed. Gnat-gcc and gnat-gpl gives the
same error message.

Hi.

I stumbled on the same problem when compiling ghdl for FreeBSD.

The compilation process uses gcc by default to compile Ada files,
considering that it is Ada aware. But, in my case (and I suppose that
is the case of Gentoo too, but I haven't looked at the portage file
though), the Ada aware compiler (installed from the FreeBSD official
port) is renamed gnatgcc during the install phase.

So, I only had to add a few lines in the Makefile.in file adding
the correct way to compile ghdl on FreeBSD and specifying the
correct compiler for Ada files (line 457 : change the ADAC variable
from gcc to gnatgcc) and it solved my problem. So maybe the same
solution may apply to your case.

Hope this helps a bit.
emmanuel


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

Reply via email to