delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/17:15:38

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's wrong with -fverbose-asm?
Date: Thu, 29 Jan 1998 10:20:03 -0800
Organization: Hewlett Packard
Lines: 23
Message-ID: <6aqh8j$s1f$1@rosenews.rose.hp.com>
References: <34CFAB07 DOT 376F374C AT btg DOT bombardier DOT com>
NNTP-Posting-Host: ros51675cra.rose.hp.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>I wondering if the -fverbose-asm option work properly or not.
>I've tested this simple program:

I think that you already get verbose asm.  It doesn't mean line listing.

>void main(void)              <----------- that's what I want
>{                                    <-----------
You could try passing listing options to the assembler.  Look up 'info as
invoking' and check the -a
option.  To pass options to the assembler use the -Wa option to gcc.

gcc -Wa,-ahl

Would pass -ahl to the assembler only.

Another option would be to run objdump on your .o files.  It can generate
mixed listings.  Note that you need to compile with debug info.

HTH

Andy

- Raw text -


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