This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with GNU AS and assembly for ARM


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

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


>From: Richard Earnshaw [mailto:rearnsha@arm.com]
>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.


      DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
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.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]