delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/27/20:08:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 27 Aug 2001 20:06:42 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with path resolution
Message-ID: <20010827200642.A21384@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010827214619 DOT 22573 DOT qmail AT linuxmail DOT org>
Mime-Version: 1.0
In-Reply-To: <20010827214619.22573.qmail@linuxmail.org>
User-Agent: Mutt/1.3.21i

On Tue, Aug 28, 2001 at 05:46:18AM +0800, bumps man wrote:
>-----Original Message-----
>From: "Gerald W. Shapiro" <gshapiro AT cais DOT com>
>Date: Mon, 27 Aug 2001 14:10:38 -0400 (EDT)
>To: cygwin AT cygwin DOT com
>Subject: RE: Problems with path resolution
>
>
>> I just joined this list, and my question seems similar to Dan's. And
>> perhaps it is a mingw group question, but here I go... joining the hoards
>> of ignorant newbies bothering the list
>> 
>> In one of the gprolog makefiles an auxiliary program takes a path
>> and a filename as input. Built with cygwin1.dll, fopen() in the auziliary
>> program has no problem finding /usr/local/blahblah/foo.h , but using
>> -mno-cygwin, the same is not found. If I run the no-cygwin version outside
>> the makefile, and provide a relative path, it works fine, but the
>> no-cygwin version does not recognize the full unix-style path.  My cygwin
>> installation root is c:\cygwin. 
>> 
>> Is there something dreadfully obvious that I am missing here?
>> 
>> Gerald
>> 
>
>I used to have similar issues with pathnames.  They were resolved when
>I made my root e:\ instead of e:\something\else.
>
>A non-cygwin Win32 app doesn't understand your cygwin root.

This is the answer to this issue.  Cygwin doesn't affect path
recognition in non-cygwin applications.  Use the cygpath program to
translate paths to Windows form or if an "identity" mount arrangement is
acceptable then that is another alternative.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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