Mail Archives: djgpp/2000/09/19/20:30:35
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 -