On Thu, 27 Nov 2008, Klaus Rechert wrote:

> Hi,
>>> 
>>> * I can't create DLLs even with current libtool (git) installed.
>> 
>> what is the error message ?
>> 
> No error.
>
> /bin/bash ../../libtool --tag=CXX   --mode=link arm-mingw32ce-g++ -fno-rtti 
> -fno-exceptions -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 
> 0:1:0 -L/home/klaus/source/bin/mobis/build/wince/lib -L/opt/cegcc/lib -Wl,-s 
> -o libevil.la -rpath /home/klaus/source/bin/mobis/build/wince/lib 
> libevil_la-evil_errno.lo libevil_la-evil_fcntl.lo libevil_la-evil_fnmatch.lo 
> libevil_la-evil_fnmatch_list_of_states.lo libevil_la-evil_langinfo.lo 
> libevil_la-evil_main.lo libevil_la-evil_mman.lo libevil_la-evil_pwd.lo 
> libevil_la-evil_stdlib.lo libevil_la-evil_stdio.lo libevil_la-evil_string.lo 
> libevil_la-evil_time.lo libevil_la-evil_unistd.lo libevil_la-evil_util.lo 
> libevil_la-evil_uuid.lo libevil_la-evil_dirent.lo libevil_la-evil_link_ce.lo 
> -lws2 
> *** Warning: linker path does not have real file for library -lm.

ok, then it's easy. The problem is that -lm is a fake lib and then libtool 
is lost with it.

Edit the file libstdc++.la which is in 
/path/to/mingw32ce/arm-mingw32ce/lib and remove all the occurences of -lm

in addition, in that file, replace libstdc++.dll.a (which is not created, 
strangely) by libstdc++.a

That's something that I should add to the wiki, until cegcc compilation is 
fixed

Vincent

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to