Problem with GNU AS and assembly for ARM

David Korn
Thu Feb 7 10:10:00 GMT 2002

>-----Original Message-----

>> and this assembly include file is included in "filename.s"
>> at the beginning:
>> #include ""

>From: Richard Earnshaw []
>Sent: 07 February 2002 18:01

>assembles fine for me; but you can provoke the same error by deleting the 
>first line.
>I think that somehow your constant is not being defined as you think.

  Not speaking ARM, I was going to keep my nose out, but now let me inquire:
Igor, are you using as directly, rather than from gcc?  If so, that'll be
the problem.  You want to change "#include" to ".include".  If you're
using the gcc driver to preprocess the file before assembly, make sure
you've given it the -x assembler-with-cpp flag.

Burn your ID card!
Help support the campaign, copy this into your .sig!

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list