Hello Brian,

gnat is installed as follows:
gnat => gnat-4.9
gnat-4.9 => 4.9.3-1

installed gcc versions
4.8.5-1
4.9.3-4
5.2.1-17

The used sources for the gcc compilation are of version 4.9.2.
Does build_gcc.sh use the system gcc to build gcc or does it use bootstrapping?

As I run my first GHDL compilation, there was no gcc-4.9.x package in Debian,
so I had to load all sources from the website. Now my system has a gcc-4.9.

Should I install the gcc sources via aptitude and remove my manually downloaded
files?


Regards
    Patrick

-----------------------------------
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: [email protected]
WWW:    http://vlsi-eda.inf.tu-dresden.de

-----Original Message-----
From: Ghdl-discuss [mailto:[email protected]] On Behalf Of Brian 
Drummond
Sent: Thursday, October 01, 2015 8:35 PM
To: GHDL discuss list <[email protected]>
Subject: Re: [Ghdl-discuss] Building GHDL on Linux (gcc and llvm)

On Thu, 2015-10-01 at 18:26 +0000, Lehmann, Patrick wrote:
> Hello,
> 
>  
> 
> building GHDL (current ghdl-0.33 branch) fails for gcc and llvm 
> backend with this error message:
> 
> gcc -c -O2 -g
> -gnatec/opt/gcc-4.9.2-temp/source/gcc-4.9.2/gcc/vhdl/grt/grt.adc
> -gnat05 -o run-bind.o run-bind.adb
> 
> gcc: error trying to exec 'gnat1': execvp: Datei oder Verzeichnis 
> nicht gefunden

Looks like your gcc installation is incomplete : you need to install the 
package "gnat" with the same version as gcc. (in older versions of some Linux 
distros, gnat was an older version than the default gcc.)

If all else fails, gnat-2015 Libre edition from Adacore should work.

-- Brian




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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to