[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem when cross compiling with mingw32ce

From: Ralf Wildenhues
Subject: Re: problem when cross compiling with mingw32ce
Date: Tue, 28 Oct 2008 08:07:50 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* 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  
> -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
aka.  /home/torri/local/opt/mingw32ce/arm-mingw32ce/lib/

then recreate all libraries that use g++ (no need to recompile):
  cd $top_builddir
  find . -name \*.la | xargs ./libtool --mode=clean rm -f

Then the reference should be gone.

Still thinking about whether we should weed -lm from dependency_libs
entries of postdeps.  Probably a good thing.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]