This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/80921] cross compiling 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: Thu, 01 Jun 2017 10:29:29 +0000
- Subject: [Bug ada/80921] cross compiling 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
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Looking in the build log, (i.e. output from 'make 2>&1 | tee build.log'), I
> now see the commands which create these DLLs; in both cases, they invoke:
>
> mingw32-gcc -shared -shared-libgcc ...
>
> which is correct, (although -static-libgcc may be safer);
No, -static-libgcc will break exception handling here.