This one from seyko2 is a good start for AoT compiling/linking linux-2.4:
https://github.com/seyko2/tccboot
FYI, for 16bit real-mode bootcode assembly binutils-as is needed,
32bit compiling/assembly/linking is handled nicely by tcc.
and i've mentioned the latest commit-id on mob branch that i tested with.
Myself too had tested tccboot JiT, which i succeeded with once with some updated
tcc mob branch version linked against, but didn't test any further, not yet.
tccboot is available from bellard.org
anyway, the regression on tcc mob branch seems rather severe, although it's
disclosed by kernel compilation for x86 only, i suspect it potentially affects
various other test-cases and architectures.
On 2024-11-13 00:56, Vad Rulezz wrote:
Hello Michael,
On 11/12/24 10:27 PM, Michael Ackermann via Tinycc-devel wrote:
The revert/backout diff that i could confirm that tcc succeeds compiling/linking
kernel with is attached.
Can you share a script or somewhat detailed instructions on how to build
linux kernel with TCC?
Vad Rulezz
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel