Mail Archives: djgpp/1999/01/02/23:01:30
On Tue, 29 Dec 1998, David Jarrett wrote:
) >Anyone knows where i can find some understandable information about how
) >compilers work? Generally i want to implement a (very small) language of my
) >own, but i never studied compiler construction.
) You do understand that writing a compiler means that you know machine
) language? Im not talkin about assembly, but MACHINE code :)
Well, actually, the GNU C Compiler distribution is just made up of cc1
(the actual compiler--the program that translates C source code into
assembler) and gcc (the front end--the program that uses the compiler, the
assembler, and the linker to produce a binary)*. as (the assembler) and ld
(the linker) are both distributed in the GNU binutils distribution, not
with GCC at all.
* Actually GCC includes gcc, cc1, cc1plus (C++ compiler), cc1obj
(Objective C compiler), libgcc (the base set of GCC functions), and
other misc. utilities.
--
Daniel Reed <n AT ml DOT org>
If Barbie is so popular, why do you have to buy her friends?
- Raw text -