Problem with GNU AS and assembly for ARM

Richard Earnshaw rearnsha@arm.com
Thu Feb 7 10:30:00 GMT 2002


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



More information about the crossgcc mailing list