X-Loop: help-debbugs@HIDDEN Subject: bug#21445: LIBS not passed for creating a wrapper for cygwin/mingw Resent-From: Damian Bogel <kele@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Wed, 09 Sep 2015 15:42:01 +0000 Resent-Message-ID: <handler.21445.B.144181327625342 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 21445 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 21445 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.144181327625342 (code B ref -1); Wed, 09 Sep 2015 15:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2015 15:41:16 +0000 Received: from localhost ([127.0.0.1]:53997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZZhUp-0006ae-KU for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:41:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34375) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <kele@HIDDEN>) id 1ZZgTe-0004rW-Fk for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgTd-0004lH-EU for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgTd-0004lD-Bd for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgTZ-0002DI-FV for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgTT-0004ie-SU for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:53 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:36970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgTT-0004iG-9y for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:47 -0400 Received: by wicfx3 with SMTP id fx3so24294757wic.0 for <bug-libtool@HIDDEN>; Wed, 09 Sep 2015 07:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6wiNT0Ob71HfGZt0PFib/pzxf6tn+4YIHbAEul3jozU=; b=QlEM790kzYF4f/xI8/SjHFlqK4JTmhNmeq0+5pj8EiW/v16980hhtbrbxPA8P1So+s zzuqLUMG1zPGQXAh4dslUON0deaU/mN+FiQtNxREECLlEWHHEneOluSFo62QeLNzgaiv yKaePayDZehhHxibcXE2CZ9vcmKk7j/XGMuMkkbQr/C0AhGZLAMOHD2/iNHzYs7u3uTO LLlyyPdHuM28s3wpWWEr4ys8Tg8QICQzj748AYIfG2gtF/o1DIWQ0TEyok0mis8SnWic +vf8c0tWdlQnnKrYNoSxV+Bv8R08l2UR2UPCIJ7/rGste8bmy1hdi9b7paXmKOIhxZOP batw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=6wiNT0Ob71HfGZt0PFib/pzxf6tn+4YIHbAEul3jozU=; b=m5p9SycN7EgCQ31VaSUdizVwfCxHtRxoETsn8+ppVImnUihFJwHz4Aw12L0mYOS+63 Cb7Bwg/FvbOaOC20DCEklarIamTTak/RVj9xWEFFMcZHhWY2ReCDMe1E4jFdJ2LMqSdf +mqkz2itMEPOpM1imsndqLgkY07Oe7cKngdCdQrQITwLOKNyDijTnMpl2Wu1jVRHw8jD N6m6SL5gDSSmDVUPYKBf1zka3JZKReUih7M4+r73uPkkEjl+3wvVOpmDa28uMy2syyGK DHxhKqXOFH1us4as1/NoYGNvFuD4WAuU9MqLVPCuFYF2ddxzC7DM7qmo9wYkcPftewm5 J93Q== X-Gm-Message-State: ALoCoQnSbuSmHmI+NhNmVXJhURYiEk2LS+EVYL3MgbPEoN+4ZMX0+6eAt3FqcAcJkS97oKd+zE3w MIME-Version: 1.0 X-Received: by 10.180.84.225 with SMTP id c1mr19783661wiz.92.1441809345794; Wed, 09 Sep 2015 07:35:45 -0700 (PDT) Received: by 10.194.61.204 with HTTP; Wed, 9 Sep 2015 07:35:45 -0700 (PDT) Date: Wed, 9 Sep 2015 10:35:45 -0400 Message-ID: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN> From: Damian Bogel <kele@HIDDEN> Content-Type: multipart/alternative; boundary=f46d0418282ee409e5051f516580 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Wed, 09 Sep 2015 11:41:14 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --f46d0418282ee409e5051f516580 Content-Type: text/plain; charset=UTF-8 Hi, It seems that whenever a wrapper executable is built for cygwin/mingw, libraries passed to libtool are ignored. In my libtool there's a command: # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } and clearly there's something missing after cwrappersource. In my project, I'm currently just using sed to patch the libtool, but a variable like LTLIBS would be useful. -- Best, Damian --f46d0418282ee409e5051f516580 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>It seems that whenever a wrapper ex= ecutable is built for cygwin/mingw, libraries passed to libtool are ignored= .</div><div><br></div><div>In my libtool there's a command:</div><div><= br></div><div><div><font face=3D"monospace, monospace"># The wrapper execut= able is built using the $host compiler,</font></div><div><font face=3D"mono= space, monospace"># because it contains $host paths and files. If cross-</f= ont></div><div><font face=3D"monospace, monospace"># compiling, it, like th= e target executable, must be</font></div><div><font face=3D"monospace, mono= space"># executed on the $host or under an emulation environment.</font></d= iv><div><font face=3D"monospace, monospace">$opt_dry_run || {</font></div><= div><font face=3D"monospace, monospace">=C2=A0 $LTCC $LTCFLAGS -o $cwrapper= $cwrappersource</font></div><div><font face=3D"monospace, monospace"><span= class=3D"" style=3D"white-space:pre"> </span>$STRIP $cwrapper</font></div= ><div><font face=3D"monospace, monospace">}</font></div><div><br></div><div= >and clearly there's something missing after cwrappersource. In my proj= ect, I'm currently just using sed to patch the libtool, but a variable = like LTLIBS would be useful.</div><div><br></div><div><br></div>-- <br><div= class=3D"gmail_signature"><div dir=3D"ltr">Best,<div>Damian</div></div></d= iv> </div></div> --f46d0418282ee409e5051f516580--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Damian Bogel <kele@HIDDEN> Subject: bug#21445: Acknowledgement (LIBS not passed for creating a wrapper for cygwin/mingw) Message-ID: <handler.21445.B.144181327625342.ack <at> debbugs.gnu.org> References: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN> X-Gnu-PR-Message: ack 21445 X-Gnu-PR-Package: libtool Reply-To: 21445 <at> debbugs.gnu.org Date: Wed, 09 Sep 2015 15:42:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 21445 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 21445: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21445 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#21445: LIBS not passed for creating a wrapper for cygwin/mingw Resent-From: Peter Rosin <peda@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Wed, 09 Sep 2015 20:49:01 +0000 Resent-Message-ID: <handler.21445.B21445.14418316912869 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 21445 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: Damian Bogel <kele@HIDDEN>, 21445 <at> debbugs.gnu.org Received: via spool by 21445-submit <at> debbugs.gnu.org id=B21445.14418316912869 (code B ref 21445); Wed, 09 Sep 2015 20:49:01 +0000 Received: (at 21445) by debbugs.gnu.org; 9 Sep 2015 20:48:11 +0000 Received: from localhost ([127.0.0.1]:54240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZZmHq-0000kD-Cj for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:48:10 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:36609) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <peda@HIDDEN>) id 1ZZmHn-0000k0-Iz for 21445 <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:48:08 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 1CEB940040; Wed, 9 Sep 2015 22:48:06 +0200 (CEST) Received: from [192.168.0.68] (217-210-101-82-no95.business.telia.com [217.210.101.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id BA8374002C; Wed, 9 Sep 2015 22:48:05 +0200 (CEST) References: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN> From: Peter Rosin <peda@HIDDEN> Message-ID: <55F09B04.4040502@HIDDEN> Date: Wed, 9 Sep 2015 22:48:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) On 2015-09-09 16:35, Damian Bogel wrote: > Hi, > > It seems that whenever a wrapper executable is built for cygwin/mingw, libraries passed to libtool are ignored. > > In my libtool there's a command: > > # The wrapper executable is built using the $host compiler, > # because it contains $host paths and files. If cross- > # compiling, it, like the target executable, must be > # executed on the $host or under an emulation environment. > $opt_dry_run || { > $LTCC $LTCFLAGS -o $cwrapper $cwrappersource > $STRIP $cwrapper > } > > and clearly there's something missing after cwrappersource. In my project, I'm currently just using sed to patch the libtool, but a variable like LTLIBS would be useful. Hi! I don't understand why you would need any extra libraries to build the cwrapper? It is not supposed to need any user-provided libraries, it's a very simple C program that sets up the environment for the real program and the execs that, no fancy libs needed for that. What is it that you think should be added with $LTLIBS? I wonder what the underlying problem is that you are apparently trying to work around? Cheers, Peter
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.