Re: How to generate object code

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Sun, 21 Oct 2007 21:02:23 -0800

          From comp.compilers

Related articles
How to generate object code mudgen@gmail.com (Nick Mudge) (2007-10-21)
Re: How to generate object code santosh.k83@gmail.com (santosh) (2007-10-22)
Re: How to generate object code gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-10-21)
Re: How to generate object code eliotm@pacbell.net (Eliot Miranda) (2007-10-23)
Re: How to generate object code cfc@shell01.TheWorld.com (Chris F Clark) (2007-10-24)
| List of all articles for this month |

From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers
Date: Sun, 21 Oct 2007 21:02:23 -0800
Organization: Compilers Central
References: 07-10-064
Keywords: code
Posted-Date: 22 Oct 2007 00:24:26 EDT

> Do compilers normally turn code into an assembly language and then
> run an assembler to to convert it into binary? Or does the compiler
> make its own representation and itself turn the representation into
> object code?


As John said, compilers come both ways. Ones that generate object
code directly usually have a way to generate human readable assembly
code that may or may not be assemblable. This is sometimes needed for
humans to understand what the compiler is doing.


-- glen



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.