delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/17/08:47:35

Newsgroups: comp.os.msdos.djgpp
From: #TAN KOK LEONG# <PA2860919 AT ntu DOT edu DOT sg>
Subject: How to generate assembly code that contain the C code? (Urgent)
Message-ID: <0CF260C495FED111A6610000F866308D0ABC9475@mail3.ntu.edu.sg>
Sender: #TAN KOK LEONG# <PA2860919 AT ntu DOT edu DOT sg>
Date: Thu, 17 Feb 2000 20:01:37 +0800
MIME-Version: 1.0
Lines: 34
X-Newsreader: Microsoft (R) Exchange Internet News Service Version 5.5.2448.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019