a key for comments output
llewelly@xmission.com
llewelly@xmission.com
Sun Apr 4 19:13:00 GMT 2004
Sergei Tovpeko <sevtov@mail.ru> writes:
> Hello.
>
> I'd know is there any key which permits the output asm-code with
> comments included into C-code?
I am not sure what you asking for. If you want the comments in your C
code to occur in gcc's assembler output (obtained with either -S
or --save-temps), I know of no way to do that. You can get a
similar effect like this:
int main()
{
asm("/* This is a comment. */");
}
will result in this:
#APP
/*This is a comment.*/
#NO_APP
in the assembler output.
If you want more readable asm, you could experiment with
-fverbose-asm, which is sometimes easier to read and sometimes
not. :-)
More information about the Gcc-help
mailing list