Build Binutils -- warning: library `c:/mingw/lib/libintl.la' was moved.

arthur <[email protected]> Mon, 25 Mar 2013 12:03:58 -0400
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
Did you ever has this warning when build any stuff? Can I ignore it?

For my case, after this warning, libtool fails to open 
`/mingw/lib/libiconv.la'. My workaround is to make a copy of mingw/lib 
under MSYS(as /mingw/lib/ in MSYS). Is it a best practice for you guys 
to have a copy of mingw/lib under MSYS .

Thanks. Arthur

/bin/sh ./libtool --tag=CC   --mode=link gcc -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror -g 
-O2 -D__USE_MINGW_ACCESS  -static-libstdc++ -static-libgcc 
-Wl,--stack,12582912 -o as-new.exe app.o as.o atof-generic.o 
compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o 
expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o 
input-file.o input-scrub.o listing.o literal.o macro.o messages.o 
output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o 
tc-i386.o obj-coff.o atof-ieee.o  ../opcodes/libopcodes.la 
../bfd/libbfd.la ../libiberty/libiberty.a -lintl

libtool: link: warning: library `c:/mingw/lib/libintl.la' was moved.
libtool: link: cannot find the library `/mingw/lib/libiconv.la' or 
unhandled argument `/mingw/lib/libiconv.la'
make[4]: *** [as-new.exe] Error 1
make[4]: Leaving directory `/e/test1/bb/gas'
make[3]: *** [all-recursive] Error 1
...

bash-3.1$ grep libiconv /c/mingw/lib/libintl.la
dependency_libs=' /mingw/lib/libiconv.la'

bash-3.1$ ls -l c:/mingw/lib/libintl.*
-rw-r--r-- ... 320692 Oct 21  2011 c:/mingw/lib/libintl.a
-rw-r--r-- ... 56108 Oct 21  2011 c:/mingw/lib/libintl.dll.a
-rw-r--r-- ... 915 Oct 21  2011 c:/mingw/lib/libintl.la


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar