*BSD News Article 6085


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!sgiblab!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!hrz.tu-chemnitz.de!wutcd
From: wutcd@chemnitz.guug.de (Joerg Wunsch)
Subject: Re: What kind of code does GCC produce?
Message-ID: <wutcd.718308934@hadrian>
Sender: bin@hrz.tu-chemnitz.de (Owner of all binaries)
Organization: tu-chemnitz
References: <9210031906.AA29183@deepthought.cs.utexas.edu>
Date: Mon, 5 Oct 1992 18:15:34 GMT
Lines: 21

STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes:

>Hi,  When I compile a program using cc (gcc) what kind of output
>does it produce?  Is it straight 80x86 assembly code, or is it
>some sort of psuedo-code that the system will interpret?
> thanks,
>  -Dan
Try compiling

	gcc -O -S foo.c

and have a look at ``foo.s'' to see the code which is normally fed
into the assembler (as).

	J"org

--
J"org Wunsch, TCD GmbH Dresden, R"ahnitzgasse 18, D-O-8060 Dresden
                                                              \     ~.~. 
	joerg_wunsch%bonnie@hadrian.hrz.tu-chemnitz.de         \   ~  | ~ 
	voice: +49-351-5965 137                                 \    ===