This is the mail archive of the
mailing list for the GCC project.
GCC 2.95.3 generates syntax-error in arm-elf-as
- From: AKubbat <AKubbat at necelam dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 29 Jun 2004 12:05:06 -0700
- Subject: GCC 2.95.3 generates syntax-error in arm-elf-as
I'd like to know if someone has encountered or fixed the following problem :
I'm building a GCC cross-compiler and during the process I see the
following error message :
-I../../gcc-2.95.3/gcc/config -I../../gcc-2.95.3/gcc/../include \
/tmp/ccEugNg3.s: Assembler messages:
/tmp/ccEugNg3.s:889: Error: junk at end of line, first unrecognized
character is `,'
This line causes the trouble :
`@` is the comment symbol for ARM assembler. So the line expands to
"[...], <nothing>". Thus the error message about the `,`
Google found the following :
> And http://sources.redhat.com/ml/binutils/1999-10/msg00067.html
> > Re: Override arm-elf-as comment char
> > It also accepts `%' for precisely this reason. There is matching gunk
> > in GCC to generate the right syntax.
Apparently I've stumbled into exactly this problem that GCC uses @ instead
of % when generating code for ARM-ELF.
Does anyone know a proper patch to fix this issue ?