Article View: gnu.gcc.help
Article #50393Re: Interspersed source/assembly listing from GCC?
From: Joep Jansen
Date: Wed, 06 Oct 1993 10:24
Date: Wed, 06 Oct 1993 10:24
13 lines
1147 bytes
1147 bytes
Frederick Byrne (fbyrne@becks.cnn.motown.ge.com) wrote: : Is there anyway of getting an interspersed source/assembly listing from GCC? : Thanks in advance. Yes, there is! Refer to the "listing" shell script that comes with the compiler source distribution. It requires "gawk" (Gnu awk) for operation. What is does is compile the program to asm code with the "-g" option, then use the line number information in the assembler file to merge the corresponding source lines. -- Joep Jansen joep@ichfsnl.ich.nl
Technical Details
Message-ID:
<CEH0ww.9w0@ich.nl>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!xlink.net!howland.reston.ans.net!pipex!uknet!mcsun!sun4nl!ichfsnl!joepReferences:
<FBYRNE.93Oct5160810@becks.cnn.motown.ge.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e7bb1bb12751ff48 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-10-06 04:26:59 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!xlink.net!howland.reston.ans.net!pipex!uknet!mcsun!sun4nl!ichfsnl!joep From: joep@ich.nl (Joep Jansen) Subject: Re: Interspersed source/assembly listing from GCC? Message-ID: <CEH0ww.9w0@ich.nl> Organization: IC/h Logistics - Frog Systems X-Newsreader: TIN [version 1.2 PL1] References: <FBYRNE.93Oct5160810@becks.cnn.motown.ge.com> Date: Wed, 6 Oct 1993 10:24:32 GMT Lines: 13