delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/20/14:01:36

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=L3fMaYkmp18cvstU
T1dcz3iYJNeUvgDKzyFutrTds1DY017rAr9PNfd1nQRQnCOpqViSNLuL9IU8y5mi
OtDMsgMYqrckPPz2QSNxW54hStdsESCfnOmZGVp63mTRxgYdtrp4yRqaFqDfrGZ9
7GebT6FOTFEhLI3XsxkYLsla3YY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=v4JhrL96quzHncSe16YNVL
lmLC4=; b=f9LMdVlgQbPe9X8dFW9VoiVhnse0GxDFnzsJbkp+6PxrJRAKgPI6PI
gJyP5i1p2AhCf02OrU9dtP4fF7pfanu0b7aYUXLdO4I4rtq4mswJ5O/d/cyeAUP+
pNoqf+TrxLn7qCNaEDeWQ5LnvpCFTmRwInKC6yEuoUpxEaueWc7vI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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)
Subject: Re: difference between cygwin32 and cygwin64 mounts breaks libtool
To: cygwin AT cygwin DOT com
References: <10970996 DOT g4281J4DVJ AT linuix DOT haible DOT de>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <aa662241-b0b6-ad01-694d-21388f38e59b@gmail.com>
Date: Sun, 20 Nov 2016 14:01:13 -0500
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>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019