|
| | Subject: | mark.urs | | Group: | Gcc-help | | From: | Mark U | | Date: | 25 May 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
|