Hi,

On Fri, 23 Sep 2016, Simon Thijs de Feber wrote:

2. https://github.com/tgingold/ghdl/blob/master/BUILD.txt
Results of 2 :

During the make ghdllib

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

However when I run a :

$> gnat --version
GNAT 5.3.0
Copyright 1996-2015, Free Software Foundation, Inc.

So it is there.

'gnat' is there but it trie to run 'gcc', as the error says:

gcc -c -g -gnatec./src/grt/grt.adc -gnat05 -gnatdY -o run-bind.o

  I had the same problem with 0.33 on a Gentoo and on OpenBSD.

  Find the Makefile(s) that define the ADAC variable. For example:

grep . -name "*ake*" | xargs grep ADAC

  The corresponding line is probably:

ADAC=$(CC)

  Replace it it with:

ADAC=gnatgcc

  if your distro's GNAT provides it in this form, or:

ADAC=gnat compile

  otherwise.


That should help the compilation go further (I think I hit another problem later, and I corrected it too but I am not sure...).


Goodbye,
  Stéphane.
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to