From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Forgive my ignorance, but can someone answer a question for me? Date: 17 Feb 1997 10:25:36 GMT Organization: Oxford University Lines: 21 Message-ID: <5e9bn0$i63@news.ox.ac.uk> References: NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 Merton College, Oxford.