Re: Building Ada System DLLs
Keith Marshall <[email protected]> Fri, 2 Jun 2017 21:58:42 +0100
| Newsgroups | gmane.comp.gnu.mingw.devel |
|---|---|
| Organization | MinGW Project |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David, On 01/06/17 19:03, Keith Marshall wrote: > I do get libgnat-6.dll and libgnarl-6.dll, (but corresponding > import libraries are not built, because there is nothing in the > corresponding Makefile to build them). I note that "make install-strip" does not strip these DLLs; should it? (Ditto, for libgcc_s_dw2-1.dll). I can hack the Makefile.in to create import libs. Do we need them? (The upstream maintainer says we don't). I also note that "make install", (or "make install-strip"), sequesters all gnat libraries, whether static, import, or DLL, in: $prefix/lib/gcc/mingw32/6.3.0/adalib/ I assume that the gnat tools expect to find them there, but surely any dynamically linked application, built with them, will need the DLLs in a runtime path? Where should mingw-get install them? Come to that, how do the gnat tools select between static and dynamic linking? (The GNU linker will not associate, say, libgnat-6.dll with -lgnat, so if we do not provide libgnat.dll.a, surely it will pick libgnat.a, which is a static library). Does this imply that gnat applications always default to static linking? - -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJZMdGBAAoJEMCtNsY0flo/enIQAL3jdoxNpO7t0/6DOaKEij3Z nL35JavMBOcbFeBIz6/sibZCmZPXI/hXXU5dfzAx2TtKjzl/U7+9hfLWYfeaFvgC 9fEPh/TCoyQzQY2mAW6XI++jFbLyQC84K3KTcWPnL2xX130vnpRv69pyqurQvE+M HtvKym3lcvdRJZeBh5Iis8oP2aWMVDM4TaYVOya9TO26ATtpFTsSOAYRaOOVbk/I bBY6mlh5jsAQO+fVnV+ppYLvasADC5oNuGC8xmSH1HobX2n7Iu9d2PbfEjmBXz7M gfrLy2kulBWITBYz5OcHOVaqYZyYF52y+6SQhIyqgTlL0tzQHsEKr2Yu2uWS0SOq 92uEpuqQjfRPVz+ADUI9X4dSzrPD8Sjh3hzVbnvl22EreIJi4fCYJtS8gPzIfU8U gGkmXpGOh3sLOYlsRvV2y5BlhBpH/PGxyTjhLuBSbNE3NUqw8ntm85F6+vFgt9yy qHaEjgjSvmRSdVqNh/agaVRqe7YL5FY7Oee8bD8L3+dUIS26ZvYr9d03oJEaBt1x vLh1p6jGWyh9CxR7I2c0H2YX9tcxdr5tcl+SEwL6zetlBZ07c8SnurjCEPdNeIo6 CbD7tdD9Zr97zSeoGUqLr0ROF242LBmaT4arv/OyR3d59Rt/JJdOwiAkr6CMGGym Inf1qlKi1u3Kc3xmApEM =eGoB -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot