delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/31/15:00:31

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "sgrb" <rolando DOT sgarbi3 AT tin DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: FAQ DJGPP error?
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <f5h68.14021$3J1.438220@news2.tin.it>
Date: Thu, 31 Jan 2002 19:40:59 GMT
NNTP-Posting-Host: 212.171.154.122
X-Complaints-To: newsmaster AT tin DOT it
X-Trace: news2.tin.it 1012506059 212.171.154.122 (Thu, 31 Jan 2002 20:40:59 MET)
NNTP-Posting-Date: Thu, 31 Jan 2002 20:40:59 MET
Organization: TIN
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

FAQ 8.20 to have assembly  and C listing suggests this options:
gcc -c -wa ,-a , -ad  foo.c
I get >gcc.exe: unrecognized option  '-wa,-a,-ad' .
To have only asm code >  gcc -o2 -S -c  foo.c
It works,I have assemled it  and my program is ok.
All this because helps me to learn C more completly.
The assembler code is near to machine instructions,I thought so.
GCC  compiler uses an assembler code quite different and  gcc assembler 'll
do
a lot of work to obtain machine instuctions.Can we see assembler output?
Another thing : in menu of GCC there isn't "extended asm" (Faq 18.2).
Thanks.




- Raw text -


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