[Mingw-users] advice for adding support of cegcc in libtool
- Date: Sat, 12 Apr 2008 22:36:04 +0200 (CEST)
- From: Vincent Torri <vtorri@xxxxxxxxxxxx>
- Subject: [Mingw-users] advice for adding support of cegcc in libtool
Hey,
I'm trying to port some libraries to Windows CE using the cegcc compiler.
Right now, there is no support for the cegcc compiler in libtool (hence no
possibility to created dll's). I've written a patch for libtool which
modifies libtool.m4 and ltoptions.m4 so that cegcc is detected. Now,
libtool says it can create sahred lib and it indeed tries.
I've written a lib that uses sockets and which uses libws2 (the equivalent
of libws2_32 with cegcc). But then libtool displays that warning:
Warning: linker path does not have real file for library -lws2.
and it requests the shared version of that lib.
Usually, to resolve such problem, I pass -no-undefined to libtool and I
provide the dll. In my case I don't have the sahred lib of libws2.
I know that, with some old version of libtool (1.5.22 or below, i can't
remember), I had the same problem with mingw and some libs like libiberty
or libwsock2, or others. But there is no problem with recent libtool
(1.5.24 or above).
So I would like to know what has been added to libtool so that it creates
the dll even if no shared version of libberty and al are available. It can
maybe help me to solve the problem with cegcc.
thank you
Vincent Torri
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users