Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If time permits can we also compare the differences in retargetting SDCC and GCC?

0
Posted

If time permits can we also compare the differences in retargetting SDCC and GCC?

0

By – Rohit Krishna Kumar <> Ans: Although SDCC is called a retargetable compiler, its process of retargetting is not driven by specifications. One needs to write the code generator manually. GCC does not require one to write the code generator manually; it generates the code generator from machine descriptions. SDCC does not have any concept of machine descriptions as input to the compiler generation framework — in fact, SDCC is _not_ a compiler generation framework unlike GCC. I am not sure if we will be able to devote any time to internals of SDCC but we will certainly compare these two approaches in the process of evolving a desirable approach to retargetting.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123