Discussion:
[Ghdl-discuss] Build error
Jon Taylor
2016-10-26 23:47:07 UTC
Permalink
Hi all,

I am attempting to build GHDL with the gcc backend. I get through
everything up to 'make ghdllib' with no problems, and then see this
error:

make[1]: Leaving directory '/root/ghdl'
gnatmake -c -aI./src/grt -gnatec./src/grt/grt.adc -gnat05 -gnatdY \
ghdl_main -cargs -g
gnatmake: objects up to date.
sed -e '/^P /s/P /P NR /' < ghdl_main.ali > ghdl_main-tmp.ali
mv ghdl_main-tmp.ali ghdl_main.ali
gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali
gcc -c -g -gnatec./src/grt/grt.adc -gnat05 -gnatdY -o run-bind.o run-bind.adb
gcc: error: run-bind.adb: Ada compiler not installed on this system
src/grt/Makefile.inc:119: recipe for target 'run-bind.o' failed
make: *** [run-bind.o] Error 1

Any ideas?

Jon
Patrick Lehmann
2016-10-27 04:04:10 UTC
Permalink
_______________________________________________
Ghdl-discuss mailing list
Ghdl-***@gna.org
https://mail.gna.org/listinfo/ghdl-discuss
Patrick Lehmann
2016-10-28 22:49:52 UTC
Permalink
A new GCC version was releases for Debian testing 6.2.0-9.

According to my test, the issue is solved.



-----------------------------------

Wissenschaftliche Hilfskraft



Technische UniversitÀt Dresden

FakultÀt Informatik

Institut fÃŒr Technische Informatik

Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur

01062 Dresden

Tel.: +49 351 463-38451

Fax: +49 351 463-38324

Raum: APB-1020

E-Mail: <mailto:***@tu-dresden.de> ***@tu-dresden.de

WWW: <http://vlsi-eda.inf.tu-dresden.de/> http://vlsi-eda.inf.tu-dresden.de



From: Ghdl-discuss [mailto:ghdl-discuss-***@gna.org] On Behalf Of Patrick Lehmann
Sent: Thursday, October 27, 2016 6:04 AM
To: ghdl-***@gna.org
Subject: Re: [Ghdl-discuss] Build error



I have the same error here with gcc 5.4 and 6.2.0 on Debian testing. GCC is broken



Workaround:

export GCC_EXEC_PREFIX=/usr/lib/gcc/

make



This should fix it.





-----------------------------------
Wissenschaftliche Hilfskraft
Technische UniversitÀt Dresden
FakultÀt Informatik
Institut fÃŒr Technische Informatik
Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur
01062 Dresden, GERMANY
Tel.: +49 351 463-38451 Fax: +49 351 463-38324
E-Mail: ***@tu-dresden.de <mailto:***@tu-dresden.de>
WWW: http://vlsi-eda.inf.tu-dresden.de

-------- UrsprÃŒngliche Nachricht --------

Von: Jon Taylor

Datum:27.10.2016 01:48 (GMT+01:00)

An: GHDL discuss list

Betreff: [Ghdl-discuss] Build error



Hi all,

I am attempting to build GHDL with the gcc backend. I get through
everything up to 'make ghdllib' with no problems, and then see this
error:

make[1]: Leaving directory '/root/ghdl'
gnatmake -c -aI./src/grt -gnatec./src/grt/grt.adc -gnat05 -gnatdY \
ghdl_main -cargs -g
gnatmake: objects up to date.
sed -e '/^P /s/P /P NR /' < ghdl_main.ali > ghdl_main-tmp.ali
mv ghdl_main-tmp.ali ghdl_main.ali
gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali
gcc -c -g -gnatec./src/grt/grt.adc -gnat05 -gnatdY -o run-bind.o run-bind.adb
gcc: error: run-bind.adb: Ada compiler not installed on this system
src/grt/Makefile.inc:119: recipe for target 'run-bind.o' failed
make: *** [run-bind.o] Error 1

Any ideas?

Jon
Tristan Gingold
2016-10-31 07:00:40 UTC
Permalink
Post by Jon Taylor
Hi all,
I am attempting to build GHDL with the gcc backend. I get through
everything up to 'make ghdllib' with no problems, and then see this
make[1]: Leaving directory '/root/ghdl'
gnatmake -c -aI./src/grt -gnatec./src/grt/grt.adc -gnat05 -gnatdY \
ghdl_main -cargs -g
gnatmake: objects up to date.
sed -e '/^P /s/P /P NR /' < ghdl_main.ali > ghdl_main-tmp.ali
mv ghdl_main-tmp.ali ghdl_main.ali
gnatbind -Lgrt_ -o run-bind.adb -n ghdl_main.ali
gcc -c -g -gnatec./src/grt/grt.adc -gnat05 -gnatdY -o run-bind.o run-bind.adb
gcc: error: run-bind.adb: Ada compiler not installed on this system
src/grt/Makefile.inc:119: recipe for target 'run-bind.o' failed
make: *** [run-bind.o] Error 1
Any ideas?
The usual workaround is to use: make ADAC=gnatgcc

Loading...