Mail Archives: djgpp/2000/02/17/08:47:35
Hi,
Can someone tell me how to generate a list file (or a assembly file)
that contains the C code together with the assembly it was converted to?
I tried the command given in the FAQ (FAQ8_20) as shown below but it
only generate the assembly code and some other information. The
corresponding C code is not added the list file generated.
gcc -c -Wa,-a,-ad myprog.c > myprog.lst
Please reply to me as soon as possible if you know. Thank you.
Yours faithfully,
Tan Kok Leong
Instrumentation & System Engineering Lab
Division of Control & Instrumentation
S1-B4b-06, School of EEE
Nanyang Technological University
Nanyang Avenue
Singapore 639798
Tel: 65-790 5472
Email: pa2860919 AT ntu DOT edu DOT sg <mailto:pa2860919 AT ntu DOT edu DOT sg>
- Raw text -