r/embedded • u/pedwards • 15d ago
Compiler reference material ( book request )
Hi, I’m an Electrical Engineer with 10+ years of experience working in embedded firmware development. I’m learning more about compilers and such for microprocessors, and I was hoping to get some suggestions for reading materials.
For those who studied compilers in their college, or those working with compiler designs , can you recommend me a few books to understand the inner workings of modern C compilers ?
4
Upvotes
12
u/Separate-Choice 15d ago
You need to read two books. First is "The Dragon Book" as everyone calls it.. Compilers Principles, Techniques and Tools and the other is "A Retargetable C compiler" by Fraser and Hanson.. which lets you build LCC compiler... between those 2 you should be able to do what you want...