Assembly listing with source annotations

David Stroupe dstroupe@keyed-upsoftware.com
Sat Jun 15 12:18:00 GMT 2002


Der Herr Hofrat wrote:

>>Is there a gcc command line switch that will give me assembly output 
>>along with source code annotations?  I have tried -save-temps and the 
>>xxx.s file is only assembly with the function names.  I really would 
>>like to see each source line along with the assosiated assembly lines.
>>
>>
> compile with -g and dump the executable with objdump -S .


Thanks John and Herr Hofrat, this is exactly what I needed!!!


-- 
Best regards,
David Stroupe
Keyed-up Software



More information about the Gcc-help mailing list