Writing a option pass
Mike Stump
mrs@apple.com
Fri Mar 30 19:48:00 GMT 2007
On Mar 30, 2007, at 11:24 AM, albino aiello wrote:
> i must add a new pass to gcc. I want to receive from command line
> an integer value at compilation time. I have modify the file
> common.opt but tha value of the variable is alwais 0.
> I have add the following row:
>
> my-variable=
> Common Var (my_variable)init(-1).
> Comments
Your cut-n-paste foo isn't just up to speed, compare the below and
try and figure out how what you want differs:
ftabstop=
C ObjC C++ ObjC++ Joined RejectNegative UInteger
-ftabstop=<number> Distance between tab stops for column reporting
ftemplate-depth-
C++ ObjC++ Joined RejectNegative UInteger
-ftemplate-depth-<number> Specify maximum template
instantiation depth
Wdeprecated
C++ ObjC++ Var(warn_deprecated) Init(1) Warning
Warn about deprecated compiler features
> Can anyone help me?
In general, you have to be able to help yourself with the simple issues.
More information about the Gcc
mailing list