2010-02-05 113 views

回答

2

是的,您可以使用-C選項。例如。

gcc -C -E myfile.c 
4

GCC有-C選項來保存評論。

`-C' 
    Do not discard comments. All comments are passed through to the 
    output file, except for comments in processed directives, which 
    are deleted along with the directive. 

    You should be prepared for side effects when using `-C'; it causes 
    the preprocessor to treat comments as tokens in their own right. 
    For example, comments appearing at the start of what would be a 
    directive line have the effect of turning that line into an 
    ordinary source line, since the first token on the line is no 
    longer a `#'. 
2

man gcc和使用/-C(斜線,空格,破折號,capitcal C)做出以下(這可能是您的尋呼機程序)搜索-C選項,使用ñ再次搜索(描述是第三次擊中)。相關選項都在上面和下面。