From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc assembler error 19 Date: 28 Apr 2003 11:05:39 GMT Organization: Aachen University of Technology (RWTH) Lines: 30 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1051527939 24955 137.226.32.75 (28 Apr 2003 11:05:39 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 28 Apr 2003 11:05:39 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com charles woerner 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.