From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38330 invoked by alias); 20 Nov 2016 19:01:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 38317 invoked by uid 89); 20 Nov 2016 19:01:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Bruno, Haible, haible, overlapping X-HELO: mail-io0-f195.google.com Received: from mail-io0-f195.google.com (HELO mail-io0-f195.google.com) (209.85.223.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 20 Nov 2016 19:01:20 +0000 Received: by mail-io0-f195.google.com with SMTP id j92so4080656ioi.0 for ; Sun, 20 Nov 2016 11:01:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=4sf9WIUejCXP1q+djDkM5tiU/DxsSS3S3TEx6CXCBRo=; b=Ji/b2ifrh0BJeIPegqWBujj8x/irdx/fVFXScINKPL/L28MuLG2LUUaz+zDoPJRaNT XggG9PCZHhRj+W9sVNiWkRUmDjmu2kd34dYW7YJtRXrgGdEFpw6o4w+tPI3YrzVydkWH JOhf4L0j0eIzscrEeS/DSszI4M64AypJ/BhaZMIEqHXrXU9h0Np6S0oM0eVBHIWKouPh h+OxqMMOhk4mPuWQ6xh9Pjn9j6OAqdYHQ7q4EX0D9XUlCsjhTAj3sVwSYxz8Vkk0/dOs O1ZPQUj8Y5+tTcz8sA2Ctg2vCMVzytD935jhXQNZ+aYW8LcfnO9iNI8EdYP9jFjTE4Ww xTiA== X-Gm-Message-State: AKaTC02ZqZVuiAm3Wiv5LupLm299QEH+HgF98FBTzZ9aZK2xdOAANcJMdCuablYuhnkO0g== X-Received: by 10.107.17.13 with SMTP id z13mr7849852ioi.114.1479668478230; Sun, 20 Nov 2016 11:01:18 -0800 (PST) Received: from [192.168.0.6] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id q82sm4760574itd.10.2016.11.20.11.01.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Nov 2016 11:01:17 -0800 (PST) Subject: Re: difference between cygwin32 and cygwin64 mounts breaks libtool To: cygwin@cygwin.com References: <10970996.g4281J4DVJ@linuix.haible.de> From: cyg Simple Message-ID: Date: Mon, 21 Nov 2016 08:26:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <10970996.g4281J4DVJ@linuix.haible.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00258.txt.bz2 On 11/18/2016 7:15 PM, Bruno Haible wrote: > Hi, > > Short summary: > ============== > > When a user has installed cygwin64 and the cross-compilation environment > for compiling to 32-bit cygwin (i686-pc-cygwin-gcc et al.), then > building (with --host=i686-pc-cygwin) a package that creates a shared > library and a program that uses this shared library - in different > source directories - makes use of libtool features: The uninstalled program > (i.e. the program in the build tree) is a wrapper program (built by libtool) > that sets up PATH so that the real program should find the (uninstalled) > shared library before invoking the real program. > > This works when building outside of C:\cygwin64 (for example, in > C:\Users\bruno), but it does not work when building inside C:\cygwin64 > (for example, in C:\cygwin64\home = /home). In this case, the uninstalled > program exits with exit code 127. When this uninstalled program is run > in a cmd.exe window, it prints a diagnostic message that mentions which > shared library it could not find. > This is a long standing collision and I don't think you'll be able to get it to work as you want. You might want to discuss with libtool list. > Short question: > =============== > > Is there a way to configure the mounts of the 32-bit cygwin subsystem > and the mounts of the 64-bit cygwin so that this will work also in /home? > Short answer is no. You're best scenario might be to have differing /home paths and symlink the common files in one of them. Otherwise you're likely to end up with PATH that is overlapping and that doesn't work. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple