How to use C style directives in assembler ?

weiguixm 623674292@qq.com
Thu Oct 22 06:38:00 GMT 2015


I'm reading u-boot sourc code recently. I found it uses C style directives
(#define #ifdef  and etc.)in assemble files. But  the assembler only
recognize directives like .ifdef .define by default.  I guess there is some
command line options of the assembler to make it recognize C style
directives instead of the default one. It will be appreciate if some one
could tell me how to deal with this issue.



--
View this message in context: http://gcc.1065356.n5.nabble.com/How-to-use-C-style-directives-in-assembler-tp1197042.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list