delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/28/07:15:02

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
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: <b8j1u3$obr$1@nets3.rz.RWTH-Aachen.DE>
References: <Law15-F81wz0UpUbIAy000265c4 AT hotmail DOT com>
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 <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 -


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