Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Eric Botcazou
> Ok, I will do a full build tonight with the testuite and take this "test > $build = $target" out of the build. I can only do a x86_64 linux test, > should I send the results to the list? You obviously need to test on a configuration that exercises the path. -- Eric Botcazou

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
On Wed, 2013-01-09 at 08:43 +, Luke A. Guest wrote: > 1) The latest problem I'm having is that it fails to build > libgnat-4.6.so, I've managed to track it down to the following code > inside libada/configure: > > # Determine what to build for 'gnatlib' > if test $build = $target \ >

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
On Wed, 2013-01-09 at 09:57 +0100, Arnaud Charlet wrote: > > 2) I also want to point out that inside > > gcc/ada/gcc-interface/Makefile.in there are lines such as: > > > > GNATLIB_SHARED = gnatlib-shared-dual > > > > Is these relics? > > No, these are correct settings. If there's a mistake,

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Eric Botcazou
> 1) The latest problem I'm having is that it fails to build > libgnat-4.6.so, I've managed to track it down to the following code > inside libada/configure: > > # Determine what to build for 'gnatlib' > if test $build = $target \ >&& test ${enable_shared} = yes ; then > # No

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Arnaud Charlet
On Wed, Jan 09, 2013 at 08:43:11AM +, Luke A. Guest wrote: > Hi, > > I'm trying to add GNAT to Yocto and still coming across problems. I have > a number of questions about GNAT as a cross compiler, I know it wasn't > designed as one within the GCC tree, but I think it needs to be capable > of

libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
Hi, I'm trying to add GNAT to Yocto and still coming across problems. I have a number of questions about GNAT as a cross compiler, I know it wasn't designed as one within the GCC tree, but I think it needs to be capable of building as one to match the other compilers. 1) The latest problem I'm ha