News for hackers. Stuff that matters.
Re:Using TinyCC to compile Linux (2.4) kernels by hawski on Monday June 13, 2022 @09:50AM (#31725550)
It is a single pass compiler, that doesn't do many optimizations. Fun factoid: TCC is sort of predecessor to QEMU.
Re:Using TinyCC to compile Linux (2.4) kernels by phyrex on Monday June 13, 2022 @10:21AM (#31726012)
They’re both from the same guy
Re:Using TinyCC to compile Linux (2.4) kernels by masklinn on Monday June 13, 2022 @10:49AM (#31726374)
Yes, but beyond that qemu was pretty much fabrice nerdsniping himself: he initially wanted to make the tcc backend more flexible (to support other targets than x86), then started playing with making the frontend more flexible, at one point he started to make the frontend take in compiled machine code, and that's the starting point of qemu: a dynamic recompiler / machine code translator, rather than a traditional emulator.