1 msgRe: C++ auto_ptr template query solved
2 msgISO C++
3 msgLD_LIBRARY_PATH needed for gcc-3.4.5 executable

mark.urs
\ Mark U (25 May 2006)
. \ Kai Ruottu (25 May 2006)

3 msgproblem with catalog()
2 msgAMD64 ABI and comparison of structures
1 msguse of changes in STL library
6 msgfunctions calls Vs calls using function pointers
1 msghave the experience but no degree, we can help
1 msgGenerate listing files
1 msgRelinking GCC as Static?
1 msgHow can compiled file include preprocessor macr...
1 msgwhat should we do next step.
2 msgC++ auto_ptr template query
3 msgARM Inline Assembler and 64 bit variables
7 msgLinking un-referenced function
6 msgCurious segmentation fault...
3 msgproblem passing constants to inline asm
1 msg[Platform specific] About data segment
3 msgOpenSource alternative to Purify memory debugger??
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


© 2004-2008 readlist.com