Mail Archives: djgpp/2003/04/28/07:15:02
charles woerner <charleswoerner AT hotmail DOT com> wrote:
> anything. I get the same error when trying to compile any C program
> (whether it is a simple 'hello world!' program or whether trying to compile
> gcc for Cygwin with CC pointing to the gcc compiler I installed with DJGPP).
That latter phrase about Cygwin doesn't make much sense, but it points at
a possible problem: compiler installation mixup. Run your compilation with
the -v flag, e.g.
gcc -v -o hello hello.c
and inspect the output *very* carefully: all sub-processes run should
report themselves as being built with and for *DJGPP*, not cygwin. If
you see any mention of cygwin in that output, your installation is
broken.
> d:/djgpp/v2/tmp\cc8Z1WBd.x:19: Error: Rest of line ignored. First ignored
> character is ','.
Add the "-save-temps" option, and this message should change, to refer to
a file 'hello.s' in the current directory. Look line 19 and see whether
it makes any sense.
If none of that seems to provide a clue, please show us the complete
output of that 'gcc -v' command, and also that of 'set' executed in
the shell you're running gcc from, so we can check it.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -