Mail Archives: djgpp/1997/02/17/15:13:29
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: The problem is that many Unix programs
: have built-in assumptions about how valid pathnames look: they only
: know about forward slashes, treat any pathname that doesn't begin with
: a slash as relative to the working directory (what about "d:/path"?)
: and don't know anything about drive letters.
Since DJGPP is a Unix-style environment, wouldn't it be sensible to refer to
the drives as /c/djgpp/bin/gcc.exe, /d/prog/myprog/myprog.cc, etc? Maybe not
force this notation, since the programs are running on Dos systems, but just
allow it so that Unix-based programs can be ported more easily.
OTOH, this would interfere with people who do have directories called c, d,
etc. in their root directory. Maybe there's a symbol which is valid in Unix
filenames but not in Dos ones? Then the drive-directories could be prefixed
with this symbol.
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -