This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/80921] Cross compiling for mingw32 target fails to build Ada shared libraries
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 May 2017 18:46:27 +0000
- Subject: [Bug ada/80921] Cross compiling for mingw32 target fails to build Ada shared libraries
- Auto-submitted: auto-generated
- References: <bug-80921-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> There is not. I see records of (successful) ar commands to build the static
> libraries, but no evidence at all of even any attempt to build shared; the
> build was configured with --enable-shared, and even explicit
> --enable-shared=libada makes no difference ... no shared Ada libraries are
> built, while shared libraries for C, C++, Fortran, ObjC, and other
> supporting components are.
Probably the FIXME in libada/configure.ac then:
# 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
AC_SUBST([default_gnatlib_target])
No idea why this was put in the first place but the first test should go...