This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]