This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.1.8: can't access /home/user from a windows native executable like rc.exe


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@ise.ch>
To: <cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]