delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/11/11:54:54

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
Message-ID: <00b901c10a21$5fcccb60$6464648a@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Michael Mustun" <mustun AT ise DOT ch>, <cygwin AT cygwin DOT com>
References: <01071110062202 DOT 02318 AT debian100>
Subject: Re: 1.1.8: can't access /home/user from a windows native executable like rc.exe
Date: Wed, 11 Jul 2001 08:41:50 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

The logic needed to convert Cygwin POSIX paths to something the underlying
filesystem can understand is in cygwin1.dll.  If a program isn't linked to
cygwin1.dll, it can't interpret them and I doubt that any Microsoft tools
are linked to cygwin1.dll.

"//nthost/app/main.ico" worked because no Cygwin conversion was necessary,
the underlying MSDOS I/O library actually accepts either '/' or '\' as
filespec section separators at least some of the time.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Michael Mustun" <mustun AT ise DOT ch>
To: <cygwin AT cygwin DOT com>
Sent: Wednesday, July 11, 2001 01:06
Subject: 1.1.8: can't access /home/user from a windows native executable
like rc.exe


> 1.1.8: can't access /home/user from a windows native executable like
rc.exe
>
> Why does the following not work:
>
> - - -
> $ RC.EXE afile.rc
>
>
> afile.rc (2): error RC2135 : file not found:
> /home/app/main.ico
>
> - - -
>
> The file /home/app/main.ico is accessible and readable
> with vi etc..
>
>
> Contents of afile.rc:
> - - -
> $ cat ./afile.rc
> DIOS_ICON  ICON  DISCARDABLE
> "/home/app/main.ico"
> - - -
>
> If I use "//nthost/app/main.ico" (UNC notation?)
> instead of "/home/app/main.ico", it works.
>
> Again, why can RC.EXE and other m$-tools not access
> files in the posix notation (/a/bb/ccc)?



--
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