Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!gatech!newsfeed.internetmci.com!in2.uu.net!fox.almaden.ibm.com!garlic.com!news.scruz.net!no.such.domain!bill From: bill@no.such.domain (Bill Cox) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Compiler option for assembler? Date: 30 Mar 1996 15:59:55 GMT Organization: Sirius Cybernetics, Sirius City branch Lines: 28 Message-ID: <4jjlpr$7f9@news.scruz.net> References: <4j71sb$9ne@rtpnews.raleigh.ibm.com> NNTP-Posting-Host: 205.179.159.64 X-Newsreader: TIN [version 1.2 PL2] Thomas Evans (tjevans@golfgod.raleigh.ibm.com) wrote: : Is there a compiler option to produce an assembler listing, I tried the : "-S" option but that doesn't include C code or offsets, just assembler : code. I check the man pages but with couldn't find anything relevant. : -- : Tom Evans : tjevans@rtp.ibm.com Assuming that you're using the installed C compiler, which is the GNU C compiler, you can find out more than you'll want to read about it. Use the 'info' command and use cntl-N to step down to the menu entry for GCC. Then press m and you're off... Alternatively, if you're familiar with emacs, use the meta-x command to run 'info' inside emacs. -- Bill Cox Software Janitor Giving power and money to politicians is like giving whisky and car keys to teenagers. P.J. O'Rourke Raise taxes to cover the deficit? Are you *crazy*?? They'll spend 1.3 times the amount we allocate them, no matter how much it is (historical fact, since WW2).