mark.urs@gmail.com

Mark U mark.urs@gmail.com
Thu May 25 13:53:00 GMT 2006


Hi,

I'm just curious to know whether there is any option in GNU GCC to get
the C code  and the corresponding asembly.

like if we give '-S' option for GCC it gives the assembly of the program
#gcc  -S test.c
gives test.S

I want to know the option for getting something like
--------------------------
printf()
<ASSEMBLY of printf>
fn();
<ASSEMBLY FOR JUMPING TO FN>
--------------------------
for a program
----------------
printf()
fn();
----------------

Thanks and regards,
Mark



More information about the Gcc-help mailing list