"Stéphane Glondu" <st...@glondu.net> wrote:

So one could even
make a proprietary compiler using C as an intermediate langage, and GCC
for the final stage, I guess.

Comeau C++'s GNU/Linux builds do exactly that. (In general it uses the local C compiler as a slightly higher level assembler. This saves them the work of needing to write a backend for every target platform. They do need to tweak the C-backend for specific platforms/compiler combinations, so as to be able to maintain maximum performance of the final binary. That is especially true of the exception feature, which has always been problematic for similar efforts.)




--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to