From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55569 invoked by alias); 24 Nov 2016 03:37:11 -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 55075 invoked by uid 89); 24 Nov 2016 03:36:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, H*r:ip*192.168.1.100 X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Nov 2016 03:36:10 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id 9kkzciUTAIwqS9kl0cznfS; Wed, 23 Nov 2016 20:31:31 -0700 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.g4281J4DVJ@linuix.haible.de> <3665755.JgPNNTvVxA@linuix.haible.de> To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: Date: Thu, 24 Nov 2016 16:25:00 -0000 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 X-SW-Source: 2016-11/txt/msg00275.txt.bz2 Message-ID: <20161124162500.Kl3EXiDkigHpZIgcJl_EhHoUZ5wHY9QWBKffZKkM_VA@z> 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