www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A3FAC26.7030402@cygwin.com> |
Date: | Mon, 22 Jun 2009 12:07:02 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: weird feature |
References: | <890c978b4ab3063f3d602834a99501f1 AT mail DOT smartmobili DOT com> <5bbe440b12fc56489f671909ca240bc3 AT mail DOT smartmobili DOT com> <a9a7d86093c421e3c645c2504ea9b6fe AT mail DOT smartmobili DOT com> |
In-Reply-To: | <a9a7d86093c421e3c645c2504ea9b6fe@mail.smartmobili.com> |
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 |
Vincent R. wrote: > On Mon, 22 Jun 2009 17:38:10 +0200, "Vincent R." <forumer AT smartmobili DOT com> > wrote: >> On Mon, 22 Jun 2009 17:15:18 +0200, "Vincent R." > <forumer AT smartmobili DOT com> >> wrote: >>> Hi, >>> >>> I know that my question could be a bit astonishing but I am not afraid > to >>> ask it ;-) >>> I am trying to compile a software for symbian platform and originally >> they >>> have released a SDK on windows >>> linked with mingw and where you use a DOS terminal to compile. >>> They have designed some build system mixing mingw/perl/dos command > (yuk!) >>> but I don't want to follow their logic >>> and I wouldn't like to install mingw (last time I tried I had so many >>> issues I don't want to try again). >>> >>> So my question is would it be possible for cygwin to understand path > like >>> that : >>> >>> /myfolder/foo instead of /cygdrive/c/myfolder/foo >>> >>> What I mean is it seems that their toolchain is considering /... as >>> DRIVELETTER_WHERE_ITS_INSTALLED/... >>> >>> Would it be possible I don't know by declaring a env var to allow that >> kind >>> of behavior ? >>> >>> So we would be able to go to 'unix' folder (cd /usr) and to real windows >>> folders (cd /Windows). >>> >> Hum think there are mount options where I could find some happiness. Need >> to read doc. > > Actually my question is more about interoperability bewteen mingw and > cygwin. > For instance here is the working command line I am using : > > arm-none-symbianelf-gcc -o conftest ... > c:/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/urel/eexe.lib > > If I replace c:/gynoid by /c/gynoid or even by /cygdrive/c/gynoid it > doesn't work because I suppose toolchain only > understand windows path c:/... : > > arm-none-symbianelf-gcc -o conftest ... > /c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/urel/eexe.lib > arm-none-symbianelf-gcc.exe: > /c/cygdrive/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/urel/eexe.lib: > No such file or directory > > arm-none-symbianelf-gcc -o conftest ... > /cygdrive/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/urel/eexe.lib > arm-none-symbianelf-gcc.exe: > /cygdrive/c/gynoid/sdks/symbian/Nokia_N97_SDK_v0.5/epoc32/release/armv5/urel/eexe.lib: > No such file or directory > > > Is it possible to make this toolchain works with cygwin path style ? Not without compiling it with Cygwin, no. You do have alternatives: 1. Install Cygwin to your C: drive rather than C:\cygwin (or, if you know what you're doing, use 'mount' to manually achieve the same goal with your current installation). 2. Use 'cygpath' to convert from DOS to Cygwin path forms and back as needed. This can get tricky/cumbersome in some cases. 3. Use c:/ syntax. The last option is not guaranteed to work but may be the easiest to manage in the short-run. The first option (or some variant) is probably your best/most stable bet overall. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |