This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: List-Files with GNU


Giovanni Bajo writes:
 > Kukuk Barbara wrote:
 > 
 > > I'd like to generate a file from a C source file where you
 > > can find the C code and the corresponding assembler statements.
 > > Is this possible with GNU?
 > 
 > Compile with "-g3" (full debug informations), and then use "objdump
 > --source file", where file is either a single object file, or the
 > full executable.

Or (prettier)

gcc -g -Wa,-adhls

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]