Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-31 Thread Roumen Petrov
Charles Wilson wrote: Roumen Petrov wrote: # func_to_host_path arg [SNIP] # ARG is the path (on $build) that should be converted to # the proper representation for $host. The result is stored @@ -2546,11 +2553,28 @@ func_to_host_path () func_to_host_path_result=`echo

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-27 Thread Roumen Petrov
Charles Wilson wrote: Roumen Petrov wrote: [SNIP] Try replacing the section above with: * ) # Unfortunately, winepath does not exit with a non-zero # error code, so we are forced to check the contents of # stdout. On the other hand, if the command

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-25 Thread Charles Wilson
Roumen Petrov wrote: Charles Wilson wrote: By this do you mean 'push to the git repo'? yes (push/commit/put/add in head/trunk/origin/master/main branch) Attached see additional patch that implements the workaround for winepath's shortcomings. This patch should be applied on top of the

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-25 Thread Charles Wilson
* libltdl/config/ltmain.m4sh (func_to_host_path) [$host=mingw]: If present, use winepath to convert from $build to $host if $build is neither mingw (msys) nor cygwin. Use unconverted path as fallback when conversion fails. Also update comments. (func_to_host_pathlist) [$host=mingw]: Ditto. For

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-21 Thread Roumen Petrov
Charles Wilson wrote: Roumen Petrov wrote: No answer from wine-developers ( http://www.winehq.org/pipermail/wine-devel/2008-May/065695.html ) As expected you patch pass my test :). That's good to know. Except for one issue [1], I'm of the opinion that my current patch is pedantically

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-20 Thread Roumen Petrov
No answer from wine-developers ( http://www.winehq.org/pipermail/wine-devel/2008-May/065695.html ) As expected you patch pass my test :). Lets go upstream. Roumen Roumen Petrov wrote: Charles Wilson wrote: Roumen Petrov wrote: Charles Wilson wrote: [mingw] Add cross-compile support to

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-20 Thread Charles Wilson
Roumen Petrov wrote: No answer from wine-developers ( http://www.winehq.org/pipermail/wine-devel/2008-May/065695.html ) As expected you patch pass my test :). That's good to know. Except for one issue [1], I'm of the opinion that my current patch is pedantically correct -- but slow, while

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-18 Thread Roumen Petrov
Charles Wilson wrote: Roumen Petrov wrote: Charles Wilson wrote: [mingw] Add cross-compile support to cwrapper May be the patch can be more simple. In a previous post I confirm that for the wine emulator is enough items in path list, where every item is absolute path from build system, to

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-17 Thread Roumen Petrov
Charles Wilson wrote: [mingw] Add cross-compile support to cwrapper * libltdl/config/ltmain.m4sh (func_to_host_path): If present, use winepath to convert from $build to $host if $host is mingw and $build is neither mingw (msys) nor cygwin. Also update comments. (func_to_host_pathlist): Ditto.

Re: [PATCH] [mingw] Add cross-compile support to cwrapper

2008-05-17 Thread Charles Wilson
Roumen Petrov wrote: Charles Wilson wrote: [mingw] Add cross-compile support to cwrapper May be the patch can be more simple. In a previous post I confirm that for the wine emulator is enough items in path list, where every item is absolute path from build system, to be separated by DOS