This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

way to produce assembly file with C comments


Hi,

I know I can compile C source files and output an assembly file using -S
on the gcc command line.  But can I produce the assembly file with the C
source lines as comments?  If so, how?  

I looked thru the docs but didn't see anything on this.

A true, non-assemble-able listing file would be ok, too.  I just need
something that correlates the source to the assembly.

Thanks.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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