Re: Compiling with MinGW



Hello Matthew,

* matthew jenika com wrote on Fri, Aug 04, 2006 at 08:12:20PM CEST:
> 
> This is not exactly a bug in a strict since but it is a complication  
> of building software with MinGW.

> gcc -g -O2 -Wl,--disable-auto-import -o .libs/test-names.exe test- 
> names.o  -Lc:/progra~1/wv libuniname.a ../lib/.libs/ 
> libgettextlib.dll.a /home/matthew/tmp/wv/gettext-0.15/gettext-tools/ 
> intl/.libs/libintl.dll.a -Lc:/progra~1/wv/lib
> gcc.exe: /home/matthew/tmp/wv/gettext-0.15/gettext-tools/intl/.libs/ 
> libintl.dll.a: No such file or directory

This isn't a Libtool bug at all, but rather an installation bug, I
believe.

> Both of the above errors are caused because of the environment the  
> software is being built in and how libtool interacts. The basic  
> problem is gcc for MinGW does not know how to properly handle cygwin  
> paths.

Exactly.  Did you compile GCC yourself but installed it in MSYS /bin?
I think that was the thing not to do, as it inhibits the automatic
path translation.  See
http://www.mingw.org/mingwfaq.shtml#faq-usingwithmsys for more info.

If that wasn't the case, then I'd like more information, such as how and
where you installed GCC, its version, and '../libtool --version'.

Cheers,
Ralf



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