Received: (at 14022) by debbugs.gnu.org; 22 Mar 2013 12:59:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 22 08:59:03 2013 Received: from localhost ([127.0.0.1]:40406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UJ1Yl-0007wA-A2 for submit <at> debbugs.gnu.org; Fri, 22 Mar 2013 08:59:03 -0400 Received: from mailout03.t-online.de ([194.25.134.81]:50097) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <aotto1968@HIDDEN>) id 1UJ1Yf-0007vh-If for 14022 <at> debbugs.gnu.org; Fri, 22 Mar 2013 08:59:00 -0400 Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de ) by mailout03.t-online.de with smtp id 1UJ1Wm-0002kv-Al; Fri, 22 Mar 2013 13:57:00 +0100 Received: from [10.192.18.83] (rxp3+BZaZhbXRSYpoRD3QmImSLwXvAYgWD9cqyG0yblqZrgSCURRyZ6p-iUyVJVZbU@[155.45.164.92]) by fwd13.t-online.de with esmtp id 1UJ1Wi-1uveS00; Fri, 22 Mar 2013 13:56:56 +0100 Message-ID: <514C5516.3060803@HIDDEN> Date: Fri, 22 Mar 2013 13:56:54 +0100 From: Andreas Otto <aotto1968@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Peter Rosin <peda@HIDDEN> Subject: Re: bug#14022: libtool-gug References: <514B1C36.5030208@HIDDEN> <514C04C8.4060005@HIDDEN> <514C1061.9000606@HIDDEN> <514C1785.9050404@HIDDEN> <514C1E8D.9080901@HIDDEN> <514C37DB.5030305@HIDDEN> In-Reply-To: <514C37DB.5030305@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: rxp3+BZaZhbXRSYpoRD3QmImSLwXvAYgWD9cqyG0yblqZrgSCURRyZ6p-iUyVJVZbU X-TOI-MSGID: 61a94a6e-57b7-411b-9473-ce8138243768 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 14022 Cc: 14022 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.4 (----) Am 22.03.2013 11:52, schrieb Peter Rosin: > On 2013-03-22 10:04, Andreas Otto wrote: >> Am 22.03.2013 09:34, schrieb Peter Rosin: >>> Your error is that you have specified --build incorrectly. >>> You are building on Cygwin with a Cygwin-hosted compiler, >>> which means that --build should be something-cygwin (but >>> you should leave configure to autodetect the specifics). >>> What you want to do is to specify --host=x86_64-w64-mingw32 >>> since you are building for a MinGW host. >>> >>> Cheers, and hope that helps, >>> Peter >>> >> Stopp, you are right and not right at the same time. >> >> I using cygwin to build a windows native library -> this mean WITHOUT any cygwin specific libraray >> => so, I'm using cygwin in cross-compiling mode ;-) > I don't see where I'm not right. I said that you are using > a Cygwin-hosted compiler, which is what I think you are > objecting against. But you are. I could have been clearer > and said Cygwin-hosted cross-compiler targeting MinGW or > something such, but your compiler is in fact Cygwin-hosted, > no error there AFAICT (i.e. the compiler itself is linked > against Cygwin libs). ok > Side note, I guess you can drop your CC and CXX exports, > configure will find automatically them with your --host > argument. this is something i missing .. because I always using "ccache" to speedup compiling and i don't find any usfull way to add a compiling tool prefix without using the CC or CXX variablee.g. -> CC='ccache x86_64-w64-....' > >> NOW i found the error (with the help of you) >> >> I used "--build=x86_64-w64-mingw32" but I need "--host=x86_64-w64-mingw32" to enable >> cross-compiling >> >> to make this error not happen again, I add an error-ckeck to my "configure.ac" script >> >> .... >> if test "$build_os" = "mingw32"; then >> AC_MSG_ERROR([as '--build=...' only cygwin is supported >> -> keep it unchanged if you are working in a cygwin toolchan >> to enable cross-compiling mode you have to specify >> -> --host=x86_64-w64-mingw32]) >> elif test "$build_os" = "cygwin"; then >> ... > That will kill building the project on MSYS. I guess it's > your project, but it seems a bit hostile to me... from my point of view MSYS is an untested environment. > >> Thanks for your help. > You're welcome! > > Cheers, > Peter >
bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.Received: (at 14022) by debbugs.gnu.org; 22 Mar 2013 10:54:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 22 06:54:17 2013 Received: from localhost ([127.0.0.1]:40217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UIzbz-0003zc-MI for submit <at> debbugs.gnu.org; Fri, 22 Mar 2013 06:54:16 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:47942) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <peda@HIDDEN>) id 1UIzbu-0003zR-SX for 14022 <at> debbugs.gnu.org; Fri, 22 Mar 2013 06:54:12 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id B01D840003; Fri, 22 Mar 2013 11:52:13 +0100 (CET) Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com [90.227.119.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 0255440002; Fri, 22 Mar 2013 11:52:12 +0100 (CET) Message-ID: <514C37DB.5030305@HIDDEN> Date: Fri, 22 Mar 2013 11:52:11 +0100 From: Peter Rosin <peda@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Otto <aotto1968@HIDDEN> Subject: Re: bug#14022: libtool-gug References: <514B1C36.5030208@HIDDEN> <514C04C8.4060005@HIDDEN> <514C1061.9000606@HIDDEN> <514C1785.9050404@HIDDEN> <514C1E8D.9080901@HIDDEN> In-Reply-To: <514C1E8D.9080901@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 14022 Cc: 14022 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.4 (----) On 2013-03-22 10:04, Andreas Otto wrote: > Am 22.03.2013 09:34, schrieb Peter Rosin: >> Your error is that you have specified --build incorrectly. >> You are building on Cygwin with a Cygwin-hosted compiler, >> which means that --build should be something-cygwin (but >> you should leave configure to autodetect the specifics). >> What you want to do is to specify --host=x86_64-w64-mingw32 >> since you are building for a MinGW host. >> >> Cheers, and hope that helps, >> Peter >> > > Stopp, you are right and not right at the same time. > > I using cygwin to build a windows native library -> this mean WITHOUT any cygwin specific libraray > => so, I'm using cygwin in cross-compiling mode ;-) I don't see where I'm not right. I said that you are using a Cygwin-hosted compiler, which is what I think you are objecting against. But you are. I could have been clearer and said Cygwin-hosted cross-compiler targeting MinGW or something such, but your compiler is in fact Cygwin-hosted, no error there AFAICT (i.e. the compiler itself is linked against Cygwin libs). Side note, I guess you can drop your CC and CXX exports, configure will find automatically them with your --host argument. > NOW i found the error (with the help of you) > > I used "--build=x86_64-w64-mingw32" but I need "--host=x86_64-w64-mingw32" to enable > cross-compiling > > to make this error not happen again, I add an error-ckeck to my "configure.ac" script > > .... > if test "$build_os" = "mingw32"; then > AC_MSG_ERROR([as '--build=...' only cygwin is supported > -> keep it unchanged if you are working in a cygwin toolchan > to enable cross-compiling mode you have to specify > -> --host=x86_64-w64-mingw32]) > elif test "$build_os" = "cygwin"; then > ... That will kill building the project on MSYS. I guess it's your project, but it seems a bit hostile to me... > Thanks for your help. You're welcome! Cheers, Peter
bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.
Received: (at 14022) by debbugs.gnu.org; 22 Mar 2013 09:06:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 22 05:06:23 2013
Received: from localhost ([127.0.0.1]:40088 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1UIxvb-0001Kf-2C
for submit <at> debbugs.gnu.org; Fri, 22 Mar 2013 05:06:23 -0400
Received: from mailout04.t-online.de ([194.25.134.18]:44153)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <aotto1968@HIDDEN>) id 1UIxvX-0001KW-LS
for 14022 <at> debbugs.gnu.org; Fri, 22 Mar 2013 05:06:21 -0400
Received: from fwd17.aul.t-online.de (fwd17.aul.t-online.de )
by mailout04.t-online.de with smtp
id 1UIxtb-00073R-Tk; Fri, 22 Mar 2013 10:04:21 +0100
Received: from [10.192.18.83]
(r960GrZ-8hMkguwiwHlyRAWM291wbBJ-Wrxahktj81393p4U6sXdORTv9wg54YMZoj@[155.45.164.92])
by fwd17.t-online.de
with esmtp id 1UIxtW-0GSjXk0; Fri, 22 Mar 2013 10:04:14 +0100
Message-ID: <514C1E8D.9080901@HIDDEN>
Date: Fri, 22 Mar 2013 10:04:13 +0100
From: Andreas Otto <aotto1968@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: Peter Rosin <peda@HIDDEN>
Subject: Re: bug#14022: libtool-gug
References: <514B1C36.5030208@HIDDEN> <514C04C8.4060005@HIDDEN>
<514C1061.9000606@HIDDEN> <514C1785.9050404@HIDDEN>
In-Reply-To: <514C1785.9050404@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ID: r960GrZ-8hMkguwiwHlyRAWM291wbBJ-Wrxahktj81393p4U6sXdORTv9wg54YMZoj
X-TOI-MSGID: ad6dddef-ec13-4cc3-a97c-2d4316ad4417
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: 14022
Cc: 14022 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)
Am 22.03.2013 09:34, schrieb Peter Rosin:
> [please stay on-list, quoting in full to preserve the context]
>
> On 2013-03-22 09:03, Andreas Otto wrote:
>> Am 22.03.2013 08:14, schrieb Peter Rosin:
>>> Hi Andreas!
>>>
>>> On 2013-03-21 15:41, Andreas Otto wrote:
>>>> Hi,
>>>>
>>>> the following code has an error:
>>> I don't think so, see below...
>>>
>>>> # func_convert_core_msys_to_w32 ARG
>>>> # Convert file name or path ARG from MSYS format to w32 format. Return
>>>> # result in func_convert_core_msys_to_w32_result.
>>>> func_convert_core_msys_to_w32 ()
>>>> {
>>>> $opt_debug
>>>> # awkward: cmd appends spaces to result
>>>> func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
>>>> $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
>>>> }
>>>> #end: func_convert_core_msys_to_w32
>>>>
>>>> I need "...cmd /c ..." to get my stuff compiled
>>> *snip*
>>>
>>>> $ cygpath -V
>>>> cygpath (cygwin) 1.7.17
>>> cygpath? If you are reporting the cygpath version and say that
>>> you need "...cmd /c..." instead of "...cmd //c...", then it
>>> sounds as if you have confused MSYS and Cygwin. The function
>>> func_convert_core_msys_to_w32 should only be used when you
>>> are using MSYS. It's not for Cygwin.
>>>
>>> On Cygwin, it is best to use a Cygwin-hosted cross compiler.
>>> If you want to run a MinGW-hosted compiler, it's best to
>>> use MSYS. But you still can (if you obey the rules) use
>>> a MinGW-hosted compiler from Cygwin, but in that case you
>>> want to use func_convert_file_cygwin_to_w32.
>>>
>>> My advise is that you read this chapter carefully:
>>> http://www.gnu.org/software/libtool/manual/libtool.html#File-name-conversion
>>>
>>> Cheers,
>>> Peter
>>>
>> Hi,
>>
>> I'm working on cygwin no MSYS
>>
>> I've done a freash cygwin installation
>> I'm using ONLY tools from cygwin
>> I use the compiler
>>
>> $ export | grep w64
>> declare -x CC="x86_64-w64-mingw32-gcc"
>> declare -x CXX="x86_64-w64-mingw32-g++"
>>
>> I use the
>> --build=x86_64-w64-mingw32
>>
>> everything ONLY from cygwin
>>
>> compile....
>> $ make -j 2
>> (CDPATH="${ZSH_VERSION+.}:" && cd /home/dev1usr/Project/NHI1 && /bin/bash /home/dev1usr/Project/NHI1/missing --run autoheader)
>> rm -f stamp-h1
>> touch /home/dev1usr/Project/NHI1/mqconfig.h.in
>> cd . && /bin/bash ./config.status mqconfig.h
>> config.status: creating mqconfig.h
>> config.status: mqconfig.h is unchanged
>> make all-recursive
>> make[1]: Entering directory `/build/dev1usr/Main/thread'
>> Making all in theLink
>> make[2]: Entering directory `/build/dev1usr/Main/thread/theLink'
>> Making all in sqlite
>> make[3]: Entering directory `/build/dev1usr/Main/thread/theLink/sqlite'
>> /bin/sh ../../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmp_la-sqlite3.lo -MD -MP -MF .deps/libtmp_la-sqlite3.Tpo -c -o libtmp_la-sqlite3.lo `test -f 'sqlite3.c' || echo '/home/dev1usr/Project/NHI1/theLink/sqlite/'`sqlite3.c
>> /bin/sh ../../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -static -g -Wall -Wcast-align -g -O2 -MT libtmps_la-sqlite3.lo -MD -MP -MF .deps/libtmps_la-sqlite3.Tpo -c -o libtmps_la-sqlite3.lo `test -f 'sqlite3.c' || echo '/home/dev1usr/Project/NHI1/theLink/sqlite/'`sqlite3.c
>> libtool: compile: x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmps_la-sqlite3.lo -MD -MP -MF .deps/libtmps_la-sqlite3.Tpo -c /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c -o libtmps_la-sqlite3.o
>> libtool: compile: x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmp_la-sqlite3.lo -MD -MP -MF .deps/libtmp_la-sqlite3.Tpo -c /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c -DDLL_EXPORT -DPIC -o .libs/libtmp_la-sqlite3.o
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c: In function 'memTracePrint':
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: unknown conversion type character 'l' in format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: too many arguments for format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: unknown conversion type character 'l' in format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: too many arguments for format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c: In function 'memTracePrint':
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: unknown conversion type character 'l' in format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: too many arguments for format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: unknown conversion type character 'l' in format
>> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: too many arguments for format
>> mv -f .deps/libtmp_la-sqlite3.Tpo .deps/libtmp_la-sqlite3.Plo
>> /bin/sh ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -o libtmp.la libtmp_la-sqlite3.lo
>> mv -f .deps/libtmps_la-sqlite3.Tpo .deps/libtmps_la-sqlite3.Plo
>> /bin/sh ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -static -g -Wall -Wcast-align -g -O2 -static -o libtmps.la libtmps_la-sqlite3.lo
>> libtool: link: ar cru .libs/libtmps.a libtmps_la-sqlite3.o
>> libtool: link: ranlib .libs/libtmps.a
>> libtool: link: ( cd ".libs" && rm -f "libtmps.la" && ln -s "../libtmps.la" "libtmps.la" )
>>
>> HANG
>>
>> now with a littel bit debugging
>>
>>> $ sh -xv ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -o libtmp.la libtmp_la-sqlite3.lo
>> + func_dirname_result=
>> + xdir=
>> + test .libs/libtmp_la-sqlite3.o '!=' none
>> + pic_object=.libs/libtmp_la-sqlite3.o
>> + test '' = dlfiles
>> + test '' = dlprefiles
>> + libobjs+=' .libs/libtmp_la-sqlite3.o'
>> + arg=.libs/libtmp_la-sqlite3.o
>> + test none '!=' none
>> + non_pic_object=.libs/libtmp_la-sqlite3.o
>> + non_pic_objects+=' .libs/libtmp_la-sqlite3.o'
>> + test -n .libs/libtmp_la-sqlite3.o
>> + compile_command+=' .libs/libtmp_la-sqlite3.o'
>> + finalize_command+=' .libs/libtmp_la-sqlite3.o'
>> + test 0 -gt 0
>> + test -n ''
>> + test no = yes
>> + oldlibs=
>> + func_basename libtmp.la
>> + func_basename_result=libtmp.la
>> + outputname=libtmp.la
>> + libobjs_save=' .libs/libtmp_la-sqlite3.o'
>> + test -n PATH
>> + eval 'shlib_search_path=`$ECHO' '"${PATH}"' '|' '$SED' ''\''s/:/' '/g'\''`'
>> shlib_search_path=`$ECHO "${PATH}" | $SED 's/:/ /g'`
>> $ECHO "${PATH}" | $SED 's/:/ /g'
>> +++ printf '%s\n' '/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11/Driver:/cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static'
>> +++ /usr/bin/sed 's/:/ /g'
>> ++ shlib_search_path='/usr/local/bin /usr/bin /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live /cygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 /cygdrive/c/Program Files/Broadcom/Broadcom 802.11/Driver /cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static'
>> + eval 'sys_lib_search_path="/usr/x86_64-w64-mingw32/lib64' /usr/x86_64-w64-mingw32/sys-root/mingw/lib '"'
>> sys_lib_search_path="/usr/x86_64-w64-mingw32/lib64 /usr/x86_64-w64-mingw32/sys-root/mingw/lib "
>> ++ sys_lib_search_path='/usr/x86_64-w64-mingw32/lib64 /usr/x86_64-w64-mingw32/sys-root/mingw/lib '
>> + eval 'sys_lib_dlsearch_path="/lib' '/usr/lib"'
>> sys_lib_dlsearch_path="/lib /usr/lib"
>> ++ sys_lib_dlsearch_path='/lib /usr/lib'
>> + func_dirname libtmp.la / ''
>> + case ${1} in
>> + func_dirname_result=
>> + output_objdir=.libs
>> + func_to_tool_file .libs/
>> + :
>> + case ,$2, in
>> + func_convert_file_msys_to_w32 .libs/
>> + :
>> + func_to_host_file_result=.libs/
>> + test -n .libs/
>> + func_convert_core_msys_to_w32 .libs/
>> + :
>> ( cmd //c echo "$1" ) 2>/dev/null |
>> $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"
>> ++ /usr/bin/sed -e 's/[ ]*$//' -e 's|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
>>
>> HANG
>>
>> => are you convinced?
>>
>>
>> mfg AO
>>
> No, not convinced.
>
> Your error is that you have specified --build incorrectly.
> You are building on Cygwin with a Cygwin-hosted compiler,
> which means that --build should be something-cygwin (but
> you should leave configure to autodetect the specifics).
> What you want to do is to specify --host=x86_64-w64-mingw32
> since you are building for a MinGW host.
>
> Cheers, and hope that helps,
> Peter
>
Stopp, you are right and not right at the same time.
I using cygwin to build a windows native library -> this mean WITHOUT
any cygwin specific libraray
=> so, I'm using cygwin in cross-compiling mode ;-)
NOW i found the error (with the help of you)
I used "--build=x86_64-w64-mingw32" but I need
"--host=x86_64-w64-mingw32" to enable
cross-compiling
to make this error not happen again, I add an error-ckeck to my
"configure.ac" script
....
if test "$build_os" = "mingw32"; then
AC_MSG_ERROR([as '--build=...' only cygwin is supported
-> keep it unchanged if you are working in a cygwin toolchan
to enable cross-compiling mode you have to specify
-> --host=x86_64-w64-mingw32])
elif test "$build_os" = "cygwin"; then
...
Thanks for your help.
mfg AO
bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.
Received: (at 14022) by debbugs.gnu.org; 22 Mar 2013 08:36:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 22 04:36:15 2013
Received: from localhost ([127.0.0.1]:40034 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1UIxSQ-0000Yk-SG
for submit <at> debbugs.gnu.org; Fri, 22 Mar 2013 04:36:15 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:36454)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <peda@HIDDEN>) id 1UIxSN-0000YZ-Sf
for 14022 <at> debbugs.gnu.org; Fri, 22 Mar 2013 04:36:14 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
by mail.lysator.liu.se (Postfix) with ESMTP id 723B04000F;
Fri, 22 Mar 2013 09:34:15 +0100 (CET)
Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com
[90.227.119.137])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by mail.lysator.liu.se (Postfix) with ESMTPSA id 1AAEA4000A;
Fri, 22 Mar 2013 09:34:15 +0100 (CET)
Message-ID: <514C1785.9050404@HIDDEN>
Date: Fri, 22 Mar 2013 09:34:13 +0100
From: Peter Rosin <peda@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Andreas Otto <aotto1968@HIDDEN>
Subject: Re: bug#14022: libtool-gug
References: <514B1C36.5030208@HIDDEN> <514C04C8.4060005@HIDDEN>
<514C1061.9000606@HIDDEN>
In-Reply-To: <514C1061.9000606@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: 14022
Cc: 14022 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)
[please stay on-list, quoting in full to preserve the context]
On 2013-03-22 09:03, Andreas Otto wrote:
> Am 22.03.2013 08:14, schrieb Peter Rosin:
>> Hi Andreas!
>>
>> On 2013-03-21 15:41, Andreas Otto wrote:
>>> Hi,
>>>
>>> the following code has an error:
>> I don't think so, see below...
>>
>>> # func_convert_core_msys_to_w32 ARG
>>> # Convert file name or path ARG from MSYS format to w32 format. Return
>>> # result in func_convert_core_msys_to_w32_result.
>>> func_convert_core_msys_to_w32 ()
>>> {
>>> $opt_debug
>>> # awkward: cmd appends spaces to result
>>> func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
>>> $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
>>> }
>>> #end: func_convert_core_msys_to_w32
>>>
>>> I need "...cmd /c ..." to get my stuff compiled
>> *snip*
>>
>>> $ cygpath -V
>>> cygpath (cygwin) 1.7.17
>> cygpath? If you are reporting the cygpath version and say that
>> you need "...cmd /c..." instead of "...cmd //c...", then it
>> sounds as if you have confused MSYS and Cygwin. The function
>> func_convert_core_msys_to_w32 should only be used when you
>> are using MSYS. It's not for Cygwin.
>>
>> On Cygwin, it is best to use a Cygwin-hosted cross compiler.
>> If you want to run a MinGW-hosted compiler, it's best to
>> use MSYS. But you still can (if you obey the rules) use
>> a MinGW-hosted compiler from Cygwin, but in that case you
>> want to use func_convert_file_cygwin_to_w32.
>>
>> My advise is that you read this chapter carefully:
>> http://www.gnu.org/software/libtool/manual/libtool.html#File-name-conversion
>>
>> Cheers,
>> Peter
>>
> Hi,
>
> I'm working on cygwin no MSYS
>
> I've done a freash cygwin installation
> I'm using ONLY tools from cygwin
> I use the compiler
>
> $ export | grep w64
> declare -x CC="x86_64-w64-mingw32-gcc"
> declare -x CXX="x86_64-w64-mingw32-g++"
>
> I use the
> --build=x86_64-w64-mingw32
>
> everything ONLY from cygwin
>
> compile....
> $ make -j 2
> (CDPATH="${ZSH_VERSION+.}:" && cd /home/dev1usr/Project/NHI1 && /bin/bash /home/dev1usr/Project/NHI1/missing --run autoheader)
> rm -f stamp-h1
> touch /home/dev1usr/Project/NHI1/mqconfig.h.in
> cd . && /bin/bash ./config.status mqconfig.h
> config.status: creating mqconfig.h
> config.status: mqconfig.h is unchanged
> make all-recursive
> make[1]: Entering directory `/build/dev1usr/Main/thread'
> Making all in theLink
> make[2]: Entering directory `/build/dev1usr/Main/thread/theLink'
> Making all in sqlite
> make[3]: Entering directory `/build/dev1usr/Main/thread/theLink/sqlite'
> /bin/sh ../../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmp_la-sqlite3.lo -MD -MP -MF .deps/libtmp_la-sqlite3.Tpo -c -o libtmp_la-sqlite3.lo `test -f 'sqlite3.c' || echo '/home/dev1usr/Project/NHI1/theLink/sqlite/'`sqlite3.c
> /bin/sh ../../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -static -g -Wall -Wcast-align -g -O2 -MT libtmps_la-sqlite3.lo -MD -MP -MF .deps/libtmps_la-sqlite3.Tpo -c -o libtmps_la-sqlite3.lo `test -f 'sqlite3.c' || echo '/home/dev1usr/Project/NHI1/theLink/sqlite/'`sqlite3.c
> libtool: compile: x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmps_la-sqlite3.lo -MD -MP -MF .deps/libtmps_la-sqlite3.Tpo -c /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c -o libtmps_la-sqlite3.o
> libtool: compile: x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/dev1usr/Project/NHI1/theLink/sqlite -I../.. -D_DEBUG -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -MT libtmp_la-sqlite3.lo -MD -MP -MF .deps/libtmp_la-sqlite3.Tpo -c /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c -DDLL_EXPORT -DPIC -o .libs/libtmp_la-sqlite3.o
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c: In function 'memTracePrint':
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: unknown conversion type character 'l' in format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: too many arguments for format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: unknown conversion type character 'l' in format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: too many arguments for format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c: In function 'memTracePrint':
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: unknown conversion type character 'l' in format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63824:5: warning: too many arguments for format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: unknown conversion type character 'l' in format
> /home/dev1usr/Project/NHI1/theLink/sqlite/sqlite3.c:63826:5: warning: too many arguments for format
> mv -f .deps/libtmp_la-sqlite3.Tpo .deps/libtmp_la-sqlite3.Plo
> /bin/sh ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -o libtmp.la libtmp_la-sqlite3.lo
> mv -f .deps/libtmps_la-sqlite3.Tpo .deps/libtmps_la-sqlite3.Plo
> /bin/sh ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -static -g -Wall -Wcast-align -g -O2 -static -o libtmps.la libtmps_la-sqlite3.lo
> libtool: link: ar cru .libs/libtmps.a libtmps_la-sqlite3.o
> libtool: link: ranlib .libs/libtmps.a
> libtool: link: ( cd ".libs" && rm -f "libtmps.la" && ln -s "../libtmps.la" "libtmps.la" )
>
> HANG
>
> now with a littel bit debugging
>
>> $ sh -xv ../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -std=gnu99 -D_HAVE_SQLITE_CONFIG_H -g -Wall -Wcast-align -g -O2 -o libtmp.la libtmp_la-sqlite3.lo
>
> + func_dirname_result=
> + xdir=
> + test .libs/libtmp_la-sqlite3.o '!=' none
> + pic_object=.libs/libtmp_la-sqlite3.o
> + test '' = dlfiles
> + test '' = dlprefiles
> + libobjs+=' .libs/libtmp_la-sqlite3.o'
> + arg=.libs/libtmp_la-sqlite3.o
> + test none '!=' none
> + non_pic_object=.libs/libtmp_la-sqlite3.o
> + non_pic_objects+=' .libs/libtmp_la-sqlite3.o'
> + test -n .libs/libtmp_la-sqlite3.o
> + compile_command+=' .libs/libtmp_la-sqlite3.o'
> + finalize_command+=' .libs/libtmp_la-sqlite3.o'
> + test 0 -gt 0
> + test -n ''
> + test no = yes
> + oldlibs=
> + func_basename libtmp.la
> + func_basename_result=libtmp.la
> + outputname=libtmp.la
> + libobjs_save=' .libs/libtmp_la-sqlite3.o'
> + test -n PATH
> + eval 'shlib_search_path=`$ECHO' '"${PATH}"' '|' '$SED' ''\''s/:/' '/g'\''`'
> shlib_search_path=`$ECHO "${PATH}" | $SED 's/:/ /g'`
> $ECHO "${PATH}" | $SED 's/:/ /g'
> +++ printf '%s\n' '/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Broadcom/Broadcom 802.11/Driver:/cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static'
> +++ /usr/bin/sed 's/:/ /g'
> ++ shlib_search_path='/usr/local/bin /usr/bin /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live /cygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 /cygdrive/c/Program Files/Broadcom/Broadcom 802.11/Driver /cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static'
> + eval 'sys_lib_search_path="/usr/x86_64-w64-mingw32/lib64' /usr/x86_64-w64-mingw32/sys-root/mingw/lib '"'
> sys_lib_search_path="/usr/x86_64-w64-mingw32/lib64 /usr/x86_64-w64-mingw32/sys-root/mingw/lib "
> ++ sys_lib_search_path='/usr/x86_64-w64-mingw32/lib64 /usr/x86_64-w64-mingw32/sys-root/mingw/lib '
> + eval 'sys_lib_dlsearch_path="/lib' '/usr/lib"'
> sys_lib_dlsearch_path="/lib /usr/lib"
> ++ sys_lib_dlsearch_path='/lib /usr/lib'
> + func_dirname libtmp.la / ''
> + case ${1} in
> + func_dirname_result=
> + output_objdir=.libs
> + func_to_tool_file .libs/
> + :
> + case ,$2, in
> + func_convert_file_msys_to_w32 .libs/
> + :
> + func_to_host_file_result=.libs/
> + test -n .libs/
> + func_convert_core_msys_to_w32 .libs/
> + :
> ( cmd //c echo "$1" ) 2>/dev/null |
> $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"
> ++ /usr/bin/sed -e 's/[ ]*$//' -e 's|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
>
> HANG
>
> => are you convinced?
>
>
> mfg AO
>
No, not convinced.
Your error is that you have specified --build incorrectly.
You are building on Cygwin with a Cygwin-hosted compiler,
which means that --build should be something-cygwin (but
you should leave configure to autodetect the specifics).
What you want to do is to specify --host=x86_64-w64-mingw32
since you are building for a MinGW host.
Cheers, and hope that helps,
Peter
bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.
Received: (at 14022) by debbugs.gnu.org; 22 Mar 2013 07:16:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 22 03:16:17 2013
Received: from localhost ([127.0.0.1]:39954 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1UIwD3-0005vf-17
for submit <at> debbugs.gnu.org; Fri, 22 Mar 2013 03:16:17 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:51123)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <peda@HIDDEN>) id 1UIwD0-0005vX-JQ
for 14022 <at> debbugs.gnu.org; Fri, 22 Mar 2013 03:16:15 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
by mail.lysator.liu.se (Postfix) with ESMTP id 6C5AF40011;
Fri, 22 Mar 2013 08:14:18 +0100 (CET)
Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com
[90.227.119.137])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by mail.lysator.liu.se (Postfix) with ESMTPSA id 0244940010;
Fri, 22 Mar 2013 08:14:17 +0100 (CET)
Message-ID: <514C04C8.4060005@HIDDEN>
Date: Fri, 22 Mar 2013 08:14:16 +0100
From: Peter Rosin <peda@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Andreas Otto <aotto1968@HIDDEN>
Subject: Re: bug#14022: libtool-gug
References: <514B1C36.5030208@HIDDEN>
In-Reply-To: <514B1C36.5030208@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: 14022
Cc: 14022 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)
Hi Andreas!
On 2013-03-21 15:41, Andreas Otto wrote:
> Hi,
>
> the following code has an error:
I don't think so, see below...
> # func_convert_core_msys_to_w32 ARG
> # Convert file name or path ARG from MSYS format to w32 format. Return
> # result in func_convert_core_msys_to_w32_result.
> func_convert_core_msys_to_w32 ()
> {
> $opt_debug
> # awkward: cmd appends spaces to result
> func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
> $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
> }
> #end: func_convert_core_msys_to_w32
>
> I need "...cmd /c ..." to get my stuff compiled
*snip*
> $ cygpath -V
> cygpath (cygwin) 1.7.17
cygpath? If you are reporting the cygpath version and say that
you need "...cmd /c..." instead of "...cmd //c...", then it
sounds as if you have confused MSYS and Cygwin. The function
func_convert_core_msys_to_w32 should only be used when you
are using MSYS. It's not for Cygwin.
On Cygwin, it is best to use a Cygwin-hosted cross compiler.
If you want to run a MinGW-hosted compiler, it's best to
use MSYS. But you still can (if you obey the rules) use
a MinGW-hosted compiler from Cygwin, but in that case you
want to use func_convert_file_cygwin_to_w32.
My advise is that you read this chapter carefully:
http://www.gnu.org/software/libtool/manual/libtool.html#File-name-conversion
Cheers,
Peter
bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.
Received: (at submit) by debbugs.gnu.org; 22 Mar 2013 00:36:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 21 20:36:43 2013
Received: from localhost ([127.0.0.1]:39575 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1UIpyL-0003QK-Vy
for submit <at> debbugs.gnu.org; Thu, 21 Mar 2013 20:36:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58259)
by debbugs.gnu.org with esmtp (Exim 4.72)
(envelope-from <aotto1968@HIDDEN>) id 1UIgjs-0005r9-SI
for submit <at> debbugs.gnu.org; Thu, 21 Mar 2013 10:45:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <aotto1968@HIDDEN>) id 1UIght-0007qQ-91
for submit <at> debbugs.gnu.org; Thu, 21 Mar 2013 10:43:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE,
RCVD_IN_XBL, RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:55243)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <aotto1968@HIDDEN>) id 1UIght-0007pm-5h
for submit <at> debbugs.gnu.org; Thu, 21 Mar 2013 10:43:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41231)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <aotto1968@HIDDEN>) id 1UIghe-0007GZ-Hr
for bug-libtool@HIDDEN; Thu, 21 Mar 2013 10:42:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <aotto1968@HIDDEN>) id 1UIghD-0007hR-Ny
for bug-libtool@HIDDEN; Thu, 21 Mar 2013 10:42:42 -0400
Received: from mailout04.t-online.de ([194.25.134.18]:60888)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from <aotto1968@HIDDEN>) id 1UIghD-0007eE-D2
for bug-libtool@HIDDEN; Thu, 21 Mar 2013 10:42:23 -0400
Received: from fwd03.aul.t-online.de (fwd03.aul.t-online.de )
by mailout04.t-online.de with smtp
id 1UIggw-0001bu-DV; Thu, 21 Mar 2013 15:42:06 +0100
Received: from [10.192.18.83]
(bKarv2ZHQhVZWzDp7Ewtz19mHx7UxXRmMfdvpc2ZVsjVIJH2f0MS5Zcfp3-jwU9ZTC@[155.45.164.92])
by fwd03.t-online.de
with esmtp id 1UIggq-085I9o0; Thu, 21 Mar 2013 15:42:00 +0100
Message-ID: <514B1C36.5030208@HIDDEN>
Date: Thu, 21 Mar 2013 15:41:58 +0100
From: Andreas Otto <aotto1968@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: libtool-gug
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-ID: bKarv2ZHQhVZWzDp7Ewtz19mHx7UxXRmMfdvpc2ZVsjVIJH2f0MS5Zcfp3-jwU9ZTC
X-TOI-MSGID: 2398b0e5-b010-4062-96ef-21434e1ff366
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 21 Mar 2013 20:36:31 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)
Hi,
the following code has an error:
# func_convert_core_msys_to_w32 ARG
# Convert file name or path ARG from MSYS format to w32 format. Return
# result in func_convert_core_msys_to_w32_result.
func_convert_core_msys_to_w32 ()
{
$opt_debug
# awkward: cmd appends spaces to result
func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
$SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
}
#end: func_convert_core_msys_to_w32
I need "...cmd /c ..." to get my stuff compiled
mfg AO
######################################################
OS: Windows7
######################################################
configure --enable-threads --enable-symbols --build=x86_64-w64-mingw32
######################################################
$ libtool --version
libtool (GNU libtool) 2.4
Written by Gordon Matzigkeit <gord@HIDDEN>, 1996
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
######################################################
$ automake --version
automake (GNU automake) 1.12.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@HIDDEN>
and Alexandre Duret-Lutz <adl@HIDDEN>.
######################################################
$ cygpath -V
cygpath (cygwin) 1.7.17
Path Conversion Utility
Copyright (C) 1998 - 2012 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
######################################################
environment:
declare -x !::
declare -x ALLUSERSPROFILE="C:\\ProgramData"
declare -x APPDATA="C:\\Users\\dev1usr\\AppData\\Roaming"
declare -x CC="ccache x86_64-w64-mingw32-gcc"
declare -x CCACHE_DIR="/build/dev1usr/Cache"
declare -x COMMONPROGRAMFILES="C:\\Program Files (x86)\\Common Files"
declare -x COMPUTERNAME="HP-HP"
declare -x COMSPEC="C:\\Windows\\system32\\cmd.exe"
declare -x CTAGSFLAGS="--c-kinds=+p"
declare -x CXX="ccache x86_64-w64-mingw32-g++.exe"
declare -x CommonProgramFiles(x86)
declare -x CommonProgramW6432="C:\\Program Files\\Common Files"
declare -x FP_NO_HOST_CHECK="NO"
declare -x HOME="/home/dev1usr"
declare -x HOMEDRIVE="C:"
declare -x HOMEPATH="\\Users\\dev1usr"
declare -x HOSTNAME="HP-HP"
declare -x INFOPATH="/usr/local/info:/usr/share/info:/usr/info:"
declare -x LANG="de_DE.UTF-8"
declare -x LOCALAPPDATA="C:\\Users\\dev1usr\\AppData\\Local"
declare -x LOGONSERVER="\\\\HP-HP"
declare -x MANPATH="/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man"
declare -x NHI1_HOME="/home/dev1usr/Project/NHI1"
declare -x NHI1_TOOL_ROOT="/home/dev1usr/ext/i686-pc-cygwin"
declare -x NUMBER_OF_PROCESSORS="4"
declare -x OLDPWD="/build/dev1usr/Main/thread/theLink/sqlite"
declare -x OS="Windows_NT"
declare -x OnlineServices="Online Services"
declare -x PATH="/usr/local/bin:/usr/bin:/cygdrive/c/Program
Files/Common Files/Microsoft Shared/Windows
Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
Files/Broadcom/Broadcom 802.11/Driver:/cygdrive/c/Program Files
(x86)/ATI Technologies/ATI.ACE/Core-Static"
declare -x PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
declare -x PCBRAND="Pavilion"
declare -x PRINTER="Lexmark S300-S400 Series"
declare -x PROCESSOR_ARCHITECTURE="x86"
declare -x PROCESSOR_ARCHITEW6432="AMD64"
declare -x PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 37 Stepping 5,
GenuineIntel"
declare -x PROCESSOR_LEVEL="6"
declare -x PROCESSOR_REVISION="2505"
declare -x PROGRAMFILES="C:\\Program Files (x86)"
declare -x PS1="\\[\\e]0;\\w\\a\\]\\n\\[\\e[32m\\]\\u@\\h
\\[\\e[33m\\]\\w\\[\\e[0m\\]\\n\\\$ "
declare -x
PSModulePath="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\"
declare -x PUBLIC="C:\\Users\\Public"
declare -x PWD="/build/dev1usr/Main/thread"
declare -x Platform="MCD"
declare -x ProgramData="C:\\ProgramData"
declare -x ProgramFiles(x86)
declare -x ProgramW6432="C:\\Program Files"
declare -x SESSIONNAME="Console"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x STY="2792.pty0.HP-HP"
declare -x SVN_SSH="ssh -l aotto1968"
declare -x SYSTEMDRIVE="C:"
declare -x SYSTEMROOT="C:\\Windows"
declare -x TEMP="/tmp"
declare -x TERM="screen"
declare -x TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\\
:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\
:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\
:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\
:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\
:li#64:co#140:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\
:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\
:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\
:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\
:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\
:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\
:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\
:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\
:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\
:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k2=\\EOQ:k3=\\EOR:\\
:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:k7=\\E[18~:k8=\\E[19~:\\
:k9=\\E[20~:k;=\\E[21~:F1=\\E[23~:F2=\\E[24~:F3=\\E[1;2P:\\
:F4=\\E[1;2Q:F5=\\E[1;2R:F6=\\E[1;2S:F7=\\E[15;2~:\\
:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=^A^?:K2=\\EOE:\\
:kB=\\E[Z:kF=\\E[1;2B:kR=\\E[1;2A:*4=\\E[3;2~:*7=\\E[1;2F:\\
:#2=\\E[1;2H:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:\\
:%i=\\E[1;2C:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:\\
:kN=\\E[6~:kP=\\E[5~:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:\\
:kr=\\EOC:kl=\\EOD:km:"
declare -x TMP="/tmp"
declare -x TZ="Europe/Berlin"
declare -x USER="dev1usr"
declare -x USERDOMAIN="HP-HP"
declare -x USERNAME="dev1usr"
declare -x USERPROFILE="C:\\Users\\dev1usr"
declare -x WINDIR="C:\\Windows"
declare -x WINDOW="9"
declare -x temp="C:\\Users\\dev1usr\\AppData\\Local\\Temp"
declare -x tmp="C:\\Users\\dev1usr\\AppData\\Local\\Temp"
Andreas Otto <aotto1968@HIDDEN>:bug-libtool@HIDDEN.
Full text available.bug-libtool@HIDDEN:bug#14022; Package libtool.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.