bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool 2.2.2 cross-compile to mingw problems


From: Roumen Petrov
Subject: Re: libtool 2.2.2 cross-compile to mingw problems
Date: Tue, 22 Apr 2008 23:39:59 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080329 SeaMonkey/1.1.9

Simon Josefsson wrote:
Charles Wilson <address@hidden> writes:

[SNIP]

export TARGETSHELL="C:\\Util\\gnuwin\\bin\\sh.exe"
export TARGETSHELL="C:\\msys\\1.0\\bin\\sh.exe"

$ echo "\\test"
\test
$ echo '\\test'
\\test
$ echo "\\\\test"
\\test



*before* building your project.
[SNIP]
./.libs/lt-hostname-check.c:295:34: warning: unknown escape sequence '\M'
./.libs/lt-hostname-check.c:295:34: warning: unknown escape sequence '\s'
./.libs/lt-hostname-check.c:358:28: warning: unknown escape sequence '\M'
./.libs/lt-hostname-check.c:358:28: warning: unknown escape sequence '\s'

However, using forward slashes seems to work better, but not fully, I
now get:

address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$ ./certtool.exe (main) argv[0] : ./certtool.exe
(main) program_name : certtool.exe
(find_executable)   : ./certtool.exe
(check_executable)  : 
Z:\home\jas\gnutls4win\build\gnutls-2.3.8\src/./certtool.exe
(main) found exe (before symlink chase) at : 
Z:\home\jas\gnutls4win\build\gnutls-2.3.8\src/./certtool.exe
(main) found exe (after symlink chase) at : 
Z:\home\jas\gnutls4win\build\gnutls-2.3.8\src/./certtool.exe
(main) libtool shell wrapper name: certtool_ltshwrapperTMP
(make_executable)   : 
Z:/home/jas/gnutls4win/build/gnutls-2.3.8/src/./.libs/certtool_ltshwrapperTMP
(main) newargz[0]   : C:/MinGW/bin/sh.exe
(main) newargz[1]   : 
Z:/home/jas/gnutls4win/build/gnutls-2.3.8/src/./.libs/certtool_ltshwrapperTMP
Wine failed with return code 1
address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$
It should have printed a --help screen.

However, I'm not sure my sh.exe is working properly:

address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$ wine C:/MinGW/bin/sh.exe 
--help
Wine failed with return code 1
address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$

same for my - tested with bash-3.1-MSYS-1.0.11-1
also:
$ wine cmd
...> cd ....
...> bash --help
and no output.
It seems to me that this is msys bash problem.


The other binaries installed from msys works though:

address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$ wine C:/MinGW/bin/gcc
gcc: no input files
Wine failed with return code 1
address@hidden:~/gnutls4win/build/gnutls-2.3.8/src$
Possibly the shell doesn't print anything by default?

I'll see if I can get the shell working.  Any ideas to help me are most
appreciated.

Thanks,
/Simon


Roumen




reply via email to

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