This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libada configure contains wrong code and GNAT as a cross compiler in general
- From: "Luke A. Guest" <laguest at archeia dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 09 Jan 2013 18:08:53 +0000
- Subject: Re: libada configure contains wrong code and GNAT as a cross compiler in general
- References: <1357720991.14424.13.camel@rogue>
On Wed, 2013-01-09 at 08:43 +0000, 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 \
> && test ${enable_shared} = yes ; then
> # Note that build=target is almost certainly the wrong test; FIXME
> default_gnatlib_target="gnatlib-shared"
> else
> default_gnatlib_target="gnatlib-plain"
> fi
>
> Surely, it shouldn't matter whether the $build = $target is true or not,
> it should be whether the target supports shared libs or not. So, am I ok
> to remove this test (keeping the enable_shared test)? Is there anything
> else that could break because of this change?
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?
Luke.