[Top][All Lists]

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

Re: [PATCH] [mingw|cygwin] Modify cwrapper to invoke target directly.

From: Roumen Petrov
Subject: Re: [PATCH] [mingw|cygwin] Modify cwrapper to invoke target directly.
Date: Sat, 10 May 2008 18:03:23 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20080329 SeaMonkey/1.1.9

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 '' script -- which is the #3 attachment to this message:

One step at a time....


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.


reply via email to

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