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


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

-D commandline option?


Okay, according to the docu the -D option is ignored... 

Don't I've any possibilty to do condition compiling from command line?

The reason is this, I've some header files that are included both, from c
and from assembler files... so I used conditionals to distinguish between
these.... 
Other way, does 'as' predefine any macros identifing itself? (like
__GNU_C__ in gcc) 

Another think the docu says -D are ignored but if the 'macro' has a
leading '_' it does produce an error either way.

---------------------------------------------
$ as -D_foo bar.s
as: unrecognized option `-_foo'
---------------------------------------------

-- 
Sent through GMX FreeMail - http://www.gmx.net


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