|Some problem about the elf file while generating the code for compiler email@example.com (Jianfei Hu) (2012-06-07)|
|Re: Some problem about the elf file while generating the code for comp bobduff@shell01.TheWorld.com (Robert A Duff) (2012-06-07)|
|Re: Some problem about the elf file while generating the code for comp firstname.lastname@example.org (BGB) (2012-06-09)|
|From:||Robert A Duff <bobduff@shell01.TheWorld.com>|
|Date:||Thu, 07 Jun 2012 15:55:56 -0400|
|Organization:||The World Public Access UNIX, Brookline, MA|
|Posted-Date:||08 Jun 2012 17:24:48 EDT|
Jianfei Hu <email@example.com> writes:
> Recently I plan to build a simple compiler by myself. When it comes to
> elf file generation, I got a problem.
You might want to side-step that problem by having your compiler
generate assembly language as text. And then feed that to an
assembler. If your purpose is to learn about compilers, then this
allows you to learn the interesting and important stuff, while
avoiding learning boring nitty-gritty details, such as the one you
> You might take a look at my Linkers and Loaders book, ...
Good idea in any case -- it's an excellent book.
Return to the
Search the comp.compilers archives again.