[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: support of the cegcc compiler
From: |
Vincent Torri |
Subject: |
Re: support of the cegcc compiler |
Date: |
Sat, 12 Apr 2008 09:43:31 +0200 (CEST) |
Hey,
In order to reasonably support this target, we need a volunteer who will
faithfully test libtool on that target and work to resolve issues. Are you
able to find a volunteer to support the cegcc compiler?
I am volunteer :-)
It seems that the cegcc compiler must work almost the same as the MinGW
compiler. I think that the main issue will be that libtool has a very
sophisticated test suite which may currently depend on some features which
are not in Windows CE. The test suite would need to be adapted to work
reasonably well for this target. Even now, there are still some test
failures with the MinGW compiler.
Here are some patch for supporting the cegcc. I know that i should send
them to address@hidden I put them here in case someone see
something wrong in them, and also because i would like to ask some
questions before:
1) how can I check libtool when doing cross compiling ? make check will
check libtool on my platform (say linux), right ? So i don't know what to
do to check libtool with cegcc
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.
Do you have some suggestions to fix this ?
thank you
Vincent Torri
ltoptions.m4.diff
Description: Text document
libtool.m4.diff
Description: Text document
- Re: support of the cegcc compiler,
Vincent Torri <=