On Mon, 16 Nov 2009, Dag-Erling Smørgrav wrote:

Fifth question: can someone give a concise explanation of what, exactly,
-no-undefined does, and why it is required?

This option is an indication that the application is fully prepared to resolve all symbols at link time. One requirement for this is that all libraries that the DLL depends on be specified at link time. This is a reason why libstdc++ also needs to be supplied at link time. Libtool normally refuses to a static library into a DLL since that would cause a lot of problems.

You did not mention the version of libtool you are using. This may be obtained from 'libtool --version'. The current version is 2.2.6b.

I have libjpeg 7 installed as a shared library under MinGW and have not noticed any problems linking with it.

There are many versions of MinGW and many versions of libtool and some work better than others.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to