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:references:to:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DFLCNtVPBfgC999G LFLe5cdetaWzNlEU7eeeMCxGUfBq2U3Kti8O9EwTGByFtrL+f3M4p50da5Lgn6AP BilZbuUiDisPdmhhwZlnCqO4odXbfAf8Sdc2kEB6L3rOj+v7+dXSWWx/F49cGe1Q G4ww1yePGQdQsQ/bIg2z7vkKmpA= 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:references:to:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5V1+HCPIr8NlP4gAab6vLw 7pKFQ=; b=Dg+RFTZXQva6kPsbH/vUec2FzWcfeZnkQxaSzU7tIIfw5Qxgw9xIkw wyjygxFRrmzmSYtB+5tuiqWAynBe9UAqrxjB0mZYLVPg8Bo4dUaLfog5VBsOF/Lj 8oBhta+Bt0348CjrmblNa1pBOG+WZNj3tO0NJ9TzzGbjqXefFEkCI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=haible, Haible, H*r:ip*192.168.1.100, Hx-spam-relays-external:shaw.ca X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=cNuQihWN c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=mDV3o1hIAAAA:8 a=xp5eA7TqYMYdUcwGMhIA:9 a=QEXdDO2ut3YA:10 a=NYYb1BagmwAA:10 a=iERKDgpyax4A:10 a=Ia2khKC2McwA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=_FVE-zBwftR9WsbkzFJk:22 Subject: Re: difference between cygwin32 and cygwin64 mounts breaks libtool References: <10970996 DOT g4281J4DVJ AT linuix DOT haible DOT de> <3665755 DOT JgPNNTvVxA AT linuix DOT haible DOT de> To: cygwin AT cygwin DOT com Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca From: Brian Inglis Message-ID: Date: Wed, 23 Nov 2016 20:31:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <3665755.JgPNNTvVxA@linuix.haible.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfLO6Oi73Qpp+Cem9jVG4yXwkKccbdghhIMk3tLkKnsY8D6pyCvGd23Q4j8oa4xKfB1IsBWa5OfBk+yq/sqnz7hqIxAtZ5hvP9TL8RxpOew4eo1ePjAhi 9Mcy8+/qrOOyh8vozwarFOJF+rXNkB7oM2cMMxlk2StmDlvg/AEm1ZgseMeEHlsmoBSXPUSpWvYotw== X-IsSubscribed: yes On 2016-11-23 10:09, Bruno Haible wrote: > Brian Inglis wrote in https://cygwin.com/ml/cygwin/2016-11/msg00259.html: >> Have you got LT_CYGPATH pointing to cygwin32 cygpath > Thanks for the suggestion, but alas: > - There is no cygwin32 cygpath in > /usr/i686-pc-cygwin/sys-root/usr/bin. > - Letting LT_CYGPATH point to /usr/bin/cygpath.exe or > C:\cygwin64\usr\bin\cygpath.exe does not change the symptom or fix > the problem. If you want to run 32 bit code, you need to install cygwin32 in a different directory e.g. c:/cygwin32/ and point LT_CYGPATH to /proc/cygdrive/c/cygwin32/bin/cygpath. That is how you can use cygwin32 cygwin1.dll, and access its 32 bit mount table, which was part of your original question, and run 32 bit builds. As the libtool docs explain, Cygwin64 cygpath is used to produce the canonical Windows file name, then that is converted with Cygwin32 cygpath to a POSIX filename in that environment. You can not just magically run Cygwin32 code under Cygwin64 without the cygwin32 runtime dll(s) linked to the WoW dlls. You could also run a straight build in that cygwin32 environment without cross-compilation, using the same cygport build file as 64 bit. You are using cygport to simplify your Cygwin builds, right? In Linux environments, cygwin32 has to be installed under Wine, and everything adapted to run Cygwin32 code under Wine, as explained in the libtool docs mentioned: https://www.gnu.org/software/libtool/manual/html_node/Cygwin_002fWindows-File-Name-Conversion.html#Cygwin_002fWindows-File-Name-Conversion The alternative the docs say is to move the binaries to a Cygwin32 environment for testing. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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