Date: 24 Jun 96 14:34:23 EDT From: "Troy D. Van Horn" <74617 DOT 365 AT CompuServe DOT COM> To: DJGPP Mail List Cc: Mark Wodrich Subject: Q: C src as comments in Assembly output? Message-ID: <960624183423_74617.365_EHH100-1@CompuServe.COM> Mark Wodrich wrote: > As a self-tutoring method, I'd like to see what assembly code results from my C > program. So, is it possible to have the compiler produce assembly code _with_ > the C code as comments, like : Try: gcc -c -g -Wa,-alh prog.c >prog.lst You can also add any optimization switches you want, and see the difference in the code. Troy Van Horn.