Re: [Ghdl-discuss] problem GNAT while compiling the libraries

2017-02-21 Thread Patrick Lehmann
Hello,

Being stuck with gnat 4.6 is a problem of an old Debian. My Debian 9 has a gnat 
6.3 :)

Even Debian 8 / 8.x should use a gnat 4.9 or 5.x.

Kind regards
Patrick


 Originalnachricht 
Betreff: Re: [Ghdl-discuss] problem GNAT while compiling the libraries
Von: Roberto Hexsel
An: ghdl-discuss@gna.org
Cc:

Acting on Patrick's question,

> I find it strange that your gnat names himself "GNAT GPL 2016" instead of 
> gnat 6.3.0 or any other GCC like version number.
>
> What is your system's name? Is GNAT standalone in your system or a part of 
> GCC?

I installed (again) Debian's gnat and the libraries compiled.  My regression 
tests run  to completion, and it seems GHDL is correctly installed.

Thanks for your help and patience!

--x--

In spite of being somewhat experienced with Linux-Debian administration, I got 
confused in the process of building GHDL  :)

The instructions say the GNAT should, preferably, be that from 
http://libre.adacore.com.

I downloaded the tarball with the latest version and installed the files at 
/usr/local.

This is the GNAT with the "GNAT GPL 2016" version number, and the one which the 
make-ing of the libraries says "gnat compiler cannot be found".

Considering Patrick's suggestion, I downloaded the (very old) GNAT 4.6 of the 
Debian distro and with this version, GHDL compiled all the libraries.

The permissions and PATHs were all double-checked before asking for help on 
ghdl-discuss.

I guess I ought to have stuck with the proven 2014 GNAT.


Please note that this is not a complaint, just a report on my experience.


Regards,
Roberto


--
Roberto Hexsel   rhex...@gmail.com<mailto:rhex...@gmail.com>   
http://www.inf.ufpr.br/roberto
"facts can speak for themselves with overwhelming precision"  J.Conrad
___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss


Re: [Ghdl-discuss] problem GNAT while compiling the libraries

2017-02-21 Thread Roberto Hexsel
Acting on Patrick's question,

> I find it strange that your gnat names himself "GNAT GPL 2016" instead of
gnat 6.3.0 or any other GCC like version number.
>
> What is your system's name? Is GNAT standalone in your system or a part
of GCC?

I installed (again) Debian's gnat and the libraries compiled.  My
regression tests run  to completion, and it seems GHDL is correctly
installed.

Thanks for your help and patience!

--x--

In spite of being somewhat experienced with Linux-Debian administration, I
got confused in the process of building GHDL  :)

The instructions say the GNAT should, preferably, be that from
http://libre.adacore.com.

I downloaded the tarball with the latest version and installed the files at
/usr/local.

This is the GNAT with the "GNAT GPL 2016" version number, and the one which
the make-ing of the libraries says "gnat compiler cannot be found".

Considering Patrick's suggestion, I downloaded the (very old) GNAT 4.6 of
the Debian distro and with this version, GHDL compiled all the libraries.

The permissions and PATHs were all double-checked before asking for help on
ghdl-discuss.

I guess I ought to have stuck with the proven 2014 GNAT.


Please note that this is not a complaint, just a report on my experience.


Regards,
Roberto


-- 
Roberto Hexsel   rhex...@gmail.com   http://www.inf.ufpr.br/roberto
"facts can speak for themselves with overwhelming precision"  J.Conrad
___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss


Re: [Ghdl-discuss] problem GNAT while compiling the libraries

2017-02-20 Thread Tristan Gingold

On 20/02/17 15:27, Roberto Hexsel wrote:

greetings,

I am trying to build ghdl from sources, and following the instructions
to the letter.


Hello,

how did you configure ghdl ?

[...]


in an attempt to find the Ada compiler:

*which gnat*
/usr/local/bin/gnat

* /usr/local/bin/gnat --version*
GNAT GPL 2016 (20160515-49)
Copyright (C) 1996-2016, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


apparently, the GNAT compiler is there and is an executable.


What is the output of:
which gcc


Is the path to GNAT hardwired anywhere in the code, or in the Makefiles?


No.

Regards,
Tristan.


___
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss