2) With those patches, libtool can now create dll's with cegcc. But I have
that message when it tries to create the dll of my lib:
*** Warning: linker path does not have real file for library -lws2.
etc... saying it can not create the shared lib of my lib because the shared
version of libws2 does not exist. Usually, there are 2 things to do:
a) provide the dll associated to that static lib
b) pass -no-undefined (specific to Windows platform, not necessary on linux)
to libtool (add it in *_la_LDFLAGS in Makefile.am's, for example).
Of course, i added -no-undefined but there is no dll for libws2.
The only exception i found was with mingw and those static libraries. From
libtool version 1.5.24, it can create the dll of my lib, even if the dll of
those libraries (lwsock2, libiberty, etc...) do not exist. I recall that with
previous version (1.5.22 or maybe the one below), it can not.