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


> >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.

Indeed.  '#' introduces a line-comment in the assembler...

R.


------
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]