Path: utzoo!attcan!uunet!samsung!xylogics!bu.edu!snorkelwacker.mit.edu!mintaka!gnu.ai.mit.edu!dstailey From: dstailey@gnu.ai.mit.edu (Doug Stailey) Newsgroups: comp.sys.atari.st Subject: Re: GNUC + cs.uni-sb.de Message-ID: <1990Nov16.040036.12680@mintaka.lcs.mit.edu> Date: 16 Nov 90 04:00:36 GMT References: Sender: daemon@mintaka.lcs.mit.edu (Lucifer Maleficius) Distribution: comp Organization: MIT Laboratory for Computer Science Lines: 51 In article gjh@hplb.hpl.hp.com (Graham Higgins) writes: > >I have *exactly* Dave Megginson's problem too (not, not *that* one :-) ). > >With $TMPDIR set to e:\, gcc reported ... > >gcc e:/cc100000.cpp : cannot find file > >So, I thought I'd try the cs.uni-sb.de version >On with the plot --- I tried the cs.uni-sb.de version --- Crashed and >burned. However, the cs.uni-sb.de version of GNU C was posted there by Edgar >Roeder (with whom I am e-corresponding). I happen to know that Edgar is a bash >user --- bash allows you to use / as well as \. Soooo, I got bash and turned on >the / option --- Crashed & burned *again* --- and yes, I tried it with without >the / option ... surprise, Crashed & burned!. No matter *what* I set $TMPDIR >to, gcc reports that it cannot find $TMPDIR/cc100000.cpp (and yes, I made sure >that $TMP matched $TMPDIR, just in case). > did you try setting the following environment variable: UNIXMODE=/.,LAHbdxrC The final character is your root directory. This example assumes it is drive C. For more info on the subject, I would usually refer you to cs.uni-sb.de, but since this archive is unavailable at the moment, I'll try to break it down from memory. The first slash indicates slashes are used as well as backslashes. The character following the dot is used to replace multiple dots in the filename. L indicates the use of symbolic links, and A enables automatic links. These are simulated, and the link information is hidden in a table in a file called .dir, which is created automatically by all UNIXMODE applications. This file is also used for long filenames, which are implemented as simulated links. H causes .dir to be completely hidden from ls. b, d & x escape me at this late hour. The capital letter following r indicates the root drive. The programs you got from cs.uni-sb.de all use UNIXMODE. The environment is very useful for porting Unix source code. Recently, I re-ported Elvis, using the libs from cs.uni-sb.de, and now it understands the long file names and links. Also, I was able to define the system type as BSD, rather than TOS, which took out everything from the original port, and allowed it to use termcap. OK, I had to keep their sync() clone, but that was all. Hope this helps. Doug -- disclaimer: This message is sold by weight, not volume. Contents may have settled during shipment.