From: "Andrew Crabtree" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >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