On 8/11/2025 1:14 PM, Michael Ackermann via Tinycc-devel wrote:> With
regards to linux kernel in particular, since linux-2.5 Kbuild changed
and requires GCC specifics:
- linker script support
- gcc -S generated assembly output
- for X86 16bit real-mode boot this opens another can of worms
http://tinyfront.mooo.com/docs.html#Assembler
Linker script support is part of ld, right? Why does gcc matter for this?
I suppose x86-16bit is necessary to access PC BIOS in real-mode and that
Linux doesn't use much C code to do so. Apple uses Forth for BIOS
access. As an alternative X86-16bit assembler, have you looked at using
a DOS Forth compiler?
https://github.com/benhoyt/third
https://github.com/swissChili/dos-forth
https://swisschili.sh/a-forth-interpreter-in-8086-assembly/
Could this work?
And you might try to contact susematz, too a contributor to tinycc, who last
tested TinyCC with linux-4.6
I don't know how to contact github users. What is the procedure?
Robin
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel