-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 10.02.2016 6:29, Bob Friesenhahn wrote: > On Wed, 10 Feb 2016, Vadim Zeitlin wrote: >> >> Sorry but this is just not true for the MSW DLLs. If the libtool user >> tries to build a DLL, you can safely assume that it will not have >> undefined >> symbols. Anything else just doesn't make sense because it would always >> result in an error. Again, this is different from the traditional Unix >> shared libraries. > > Why do you say this? Most software built using libtool still comes from > Unix type systems. Without the existing behavior it would be difficult > to take a program developed on a Unix type system and just compile it > under Windows. It is thought that errors are bad and successful > compilation is good. Do you mean creating static libs when shared lib was requested instead of failing? In this case errors are good, because requested operation was not performed. Any when some program later failed to compile/run, it's much harder to find source of problem because was no indication of failed shared lib creation. Moreover, some libs designed to be compiled as shared lib, may not function properly if used as static. Especially if DllMain() is used. In this case it will be even more harder to find what's wrong even if some program that uses lib is compiled and run. That's look a bit weird. It's like I compiled something for ARM64, but compiler generated code for ARM, because compiler not sure that ARM64 code can be generated (and even didn't try to generate ARM64 code). Same libtool does for shared and static libs. - -- Best Wishes, Evgeny Grin -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWu498AAoJEN665qOCrkO/XnYQAIS+s1N9M5wgQ+I3zz+E9oMD wKDfQb5M2VpxJRqMvxIL80GyZ7gAd8rV55Y1u2HGRtHe1N91lxPv60BSSlGrNP57 2MjXidGXVEsKKyHkhIrsH1m79xMLAMC6/Zicm5GskyOuCYqjx5i7PeBGHU6g0uxi 4zWYCaLVgYS39ITwVfpCRqTF87KXfihmUqAI0cWG6k2g86bjQ0bkhMpDIK4l6hRw +LQ/X5tqNHqoW0HJkaCpo0qqgppIrP3cyQfNde4l4MPmf90H35yIWTPKqepjFDEF CX7BEspDcqHAbSiSvKdtYJN4dU8KhJb8JryDVlSaPiPFGtuezCT0hMMMZJVARPzj hPr03Bv4jFilQVG8Fl7Nb9ExCweaTwNMe32DzDQjmYRsVrGRJDRft3n04LJ61d1Q fSAAICyAz0RggKjR+r10qE2QhFEhjZlXIBglOFTYkccQibUSrGhuX9iDC9TobdGb ig2B2AeWASBgpj0k8J4NtTO1KY5Z4S+Wplpn45D5lsOl4iCB6Lh1iXrXD+FcMukz kOGULoygrQC8cGjbEAHR7YRq+4mySHEEQg62CjIqhIPWeoWoNeruoiPz0o0w8r4j 1IhwKHO0vOS9cfETHD0a1UQsdnJmYyOH5FwnQIFlGbzKJJiyO/jniRAKPcpHuDQE HSLfIO7R2LAXtTwZpVEQ =shXP -----END PGP SIGNATURE----- _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool