Charles Wilson wrote:
Roumen Petrov wrote:
libtool 2.2.4 patched with both patches still fail:
...........
(lt_setenv) setting 'PATH' to
':/usr/local/src/..../lt-2.2.4-mingw-mlib/lib2/.libs:/usr/local/src/..../lt-2.2.4-mingw-mlib/lib1/.libs:/tmp/test/pkg/lt-2.2.4-mingw-mlib/lib:/tmp/test/pkg/lt-2.2.4-mingw-mlib/bin:/usr/local/src/..../lt-2.2.4-mingw-mlib/lib2/.libs:/usr/local/src/..../lt-2.2.4-mingw-mlib/lib1/.libs:c:\windows\system32;c:\windows;z:\opt\mingw\bin'
(main) lt_argv_zero : Z:/..../lt-2.2.4-mingw-mlib/appl/.libs/foo.exe
(main) newargz[0] : Z:/..../lt-2.2.4-mingw-mlib/appl/.libs/foo.exe
err:module:import_dll Library libfoo2.dll (which is needed by
L"Z:\\....\\lt-2.2.4-mingw-mlib\\appl\\.libs\\foo.exe") not found
...........
The PATH contain unix instead dos path-separator.
Right. With *this* patch, I do not expect improvement with
cross-compiles. This is just the first step. To get cross-compiles
working, I need to *extend* this change using some of the techniques
demonstrated in the 'convert_mingw_paths_with_wine.sh' script -- which
is the #3 attachment to this message:
http://lists.gnu.org/archive/html/libtool-patches/2008-04/msg00164.html
One step at a time....
--
Chuck
I confirm that in cross environment (wine emulation) is enough to
replace all ':' (unix) with ';' (dos) in LIB_PATH_VALUE and
LIB_PATH_VALUE to get cwrapper to work.
Roumen