www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/19/20:30:35

From: clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: missing cc1plus.exe file
Date: 20 Sep 2000 00:18:58 GMT
Organization: University of Virginia
Lines: 29
Message-ID: <8q8vpi$c9e$1@murdoch.acc.Virginia.EDU>
References: <_spx5.40284$XZ4 DOT 513027 AT news DOT infostrada DOT it> <8q8mfm$8oi$1 AT murdoch DOT acc DOT Virginia DOT EDU> <6ntfssgr3sfbc8bb8e473oothqqku47uln AT 4ax DOT com>
NNTP-Posting-Host: cobra.cs.virginia.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <6ntfssgr3sfbc8bb8e473oothqqku47uln AT 4ax DOT com>,
Jason Green  <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:
>clc5q AT cobra DOT cs DOT Virginia DOT EDU (Clark L. Coleman) wrote:
>
>> I got the same problem, AND it was not fixed by renaming foo.C to
>> foo.c,, because that is not possible from the DOS window on NT. If you
>> try to copy FOO.C to foo.c from my DOS window in NT, you get a message
>> saying that you cannot copy a file onto itself.
>
>In W95/98, the command 'copy' would give that error, the command
>'rename' works as expected.  Are you sure you used rename?


Well, using 'rename' helped a little. gcc stopped trying to use
cc1plus and used cc1 instead.

Now, the problem is that:

gcc -c -g -o foo.o foo.c

(this is executed from a makefile)

produces object file FOO.O instead of foo.o. The make terminates,
probably because it detects the fact that it failed to produce the
target 'foo.o'. Running make again recompiles foo.c into FOO.O again
and terminates again.

Any ideas?

- Raw text -


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