Via: uk.ac.stirling; Tue, 13 Apr 1993 16:45:23 +0100 Date: Tue, 13 Apr 93 16:45:26 +0100 From: Mr Robin J Faichney To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Problem: gcc -c can't read/write .s files I have just acquired djgpp, go32 version 1.08, gcc version 2.2.2, gas version 1.38.1 I tried compiling a couple of Noddy things, then something slightly larger which I've had around for years. (It's a couple of years since I last did any programming, as may become obvious.) I had no problems at all until I tried to compile >1 source file, using -c. This is what I got: $ gcc -c main.cc Bad command or file name Can't open c:/tmp/cc000064.s for readingfile not found. $ gcc -c -save-temps main.cc Bad command or file name Can't open main.s for readingfile not found. $ gcc -S main.cc Bad command or file name In each case no .s file could be found---I mean by me, as well as by gcc. There is obviously no problem with writing and reading the .s file on a 1 file prog. Can anyone suggest what is causing this? I have MSDOS 5.0 on a TI'KO 386DX with 4Mb, XMS with HIMEM.SYS, SMARTDRIVE 1Mb and RAMDRIVE 512k (I put TMPDIR back on C: while trying to solve this prob), MKS Kornshell instead of COMMAND.COM. (When I ran it under COMMAND, gcc -c failed without complaining!) Robin Faichney