Problem with GNU AS and assembly for ARM

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


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

More information about the crossgcc mailing list