Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3104567
By: gnuwin32

If I list (with the command 'ar t libpng.a') the contents of libpng.a as 
distributed
in libpng-1.2.8-lib.zip, I get a list of compiled files with names equal to
the compiled files (png.o, pngset.o, etc.). This shows that libpng.a is a static
library.
For libpng.dll.a, I get a list of names of the form d000xxx.o, where xxx is
a number from 000 to 371. This shows that libpng.dll.a is a dynamic link
library.
What are the results for the libraries installed on your system?

Also, compiling with the flags '-static -D__STATIC__ -DPNG_STATIC' and then
linking with -lpng and the flag '-Wl,-static' gives me a static executable.
Without these flags, one gets an executable linked to the DLL. See the Makefile
in libpng-1.2.8-src.zip for an example.

What are the results for a compilation and linking on your system? If you are
still unsuccessfull, please report the exact content of the commands that you
used as well as the setup of your system, in particular the content of the PATH
environment variable, and the location of Mingw and of the installed libpng
libraries.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to