I don't know how to get the listing from C source. However you can get the same by using objdump with -S option on the executable (compiled with -g) Regards, Bharata. On Thu, Nov 29, 2001 at 11:56:10AM +0800, ken wrote: > How to get the listing file from c source file? The listing file has source,assembly and machine code. > The option -S of gcc can only get the assembly file! > Thanks! -- Bharata B Rao, IBM Linux Technology Center, IBM Software Lab, Bangalore. Ph: 91-80-5262355 Ex: 3962 Mail: bharata@in.ibm.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/