[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #16 from Eric Botcazou --- > BTW, although I am now able to build the DLLs, install-strip does not strip > the installed copies; should it? Probably, but in my experience stripping can have unexpected fallout.

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-02 Thread keith.marshall at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #15 from Keith Marshall --- Created attachment 41464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41464=edit Patch to create gnatlib import libraries for Win32 (In reply to Eric Botcazou from comment #14) > In any case, the

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #14 from Eric Botcazou --- > That's not strictly true; while they may not be essential, import libraries > are, by no means, obsolete. The search order, for the Windows linker[1], is: > > libfoo.dll.a > foo.dll.a > libfoo.a >

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread keith.marshall at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #13 from Keith Marshall --- (In reply to Eric Botcazou from comment #7) > > With that in place, a clean configure and build does now produce: > > > > gcc/ada/rts/libgnarl-6.dll > > gcc/ada/rts/libgnat-6.dll > > > > but there are no

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #11 from Eric Botcazou --- Author: ebotcazou Date: Thu Jun 1 10:52:29 2017 New Revision: 248787 URL: https://gcc.gnu.org/viewcvs?rev=248787=gcc=rev Log: PR ada/80921 * configure.ac (default_gnatlib_target): Remove

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #10 from Eric Botcazou --- Author: ebotcazou Date: Thu Jun 1 10:51:50 2017 New Revision: 248786 URL: https://gcc.gnu.org/viewcvs?rev=248786=gcc=rev Log: PR ada/80921 * configure.ac (default_gnatlib_target): Remove

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #9 from Eric Botcazou --- Author: ebotcazou Date: Thu Jun 1 10:51:15 2017 New Revision: 248785 URL: https://gcc.gnu.org/viewcvs?rev=248785=gcc=rev Log: PR ada/80921 * configure.ac (default_gnatlib_target): Remove

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #8 from Eric Botcazou --- > 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 ... > >

[Bug ada/80921] cross compiling fails to build Ada shared libraries

2017-06-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80921 --- Comment #7 from Eric Botcazou --- > With that in place, a clean configure and build does now produce: > > gcc/ada/rts/libgnarl-6.dll > gcc/ada/rts/libgnat-6.dll > > but there are no accompanying import libraries, (as there are for other >