mark.urs@xxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux