Hi,

I wrote a simple compatibility libarry that implements missing mingw
functions (_errno, getenv,GetCurrentDirectory, ...)
and I am using it to port some software and especially glib and its
dependencies.
The first dependency I am porting is gettext and I got an error when
compiling some C++ code :

rm -fr  .libs/libasprintf.dll.a
arm-mingw32ce-gcc -shared  .libs/lib-asprintf.o .libs/autosprintf.o  
-Wl,--disable-auto-import -o .libs/libasprintf-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libasprintf.dll.a
Creating library file: .libs/libasprintf.dll.a
.libs/autosprintf.o:/cygdrive/z/cygming-home/Realeyes3D/projects/gettext-0.17/gettext-runtime/libasprintf/autosprintf.cc:75:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(char const*, std::allocator<char>
const&)'
.libs/autosprintf.o:/cygdrive/z/cygming-home/Realeyes3D/projects/gettext-0.17/gettext-runtime/libasprintf/autosprintf.cc:75:
relocation truncated to fit: ARM_26 against undefined symbol
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
...

I thought it was a problem with cegcc but if I replace arm-mingw32ce-gcc 
by arm-mingw32ce-g++ it seems to produce the dll(don't know if it works
however).

Do you think it's an issue with cegcc or with gettext makefiles ?

Thanks



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to