www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/13/12:25:31

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 <rjf1 AT stirling DOT ac DOT uk>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019