* Vincent Torri wrote on Mon, Oct 27, 2008 at 11:39:58PM CET: > > /bin/sh ../../libtool --debug --tag=CXX --mode=link arm-mingw32ce-g++ > -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 > -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o > libevil.la -rpath /home/torri/local/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_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 -lws2 > libtool_link.txt 2>&1 > > I've bzipped the file because it's 1MB large
Thanks. As a workaround, remove all -lm entries from dependency_libs in /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib/libstdc++.la aka. /home/torri/local/opt/mingw32ce/arm-mingw32ce/lib/libstdc++.la then recreate all libraries that use g++ (no need to recompile): cd $top_builddir find . -name \*.la | xargs ./libtool --mode=clean rm -f make Then the reference should be gone. Still thinking about whether we should weed -lm from dependency_libs entries of postdeps. Probably a good thing. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool