On 2026-05-11 10:22, Sam Ellicott wrote:
>      The real solution: release a new tcc version.
>      8 years ago     release_0_9_27
>      Hmm...
> 
>    This might not be the thread for it, but I would like to put forward
>    Michael Ackermann's work on tinyfront
>    ([1]http://tinyfront.mooo.com/index.html) as a good test case for when
>    we are ready for a full 0.9.28 release.
>    My proposal is that if we can build a tinyfront system without any
>    patches to the mob branch of tcc, that's when we should cut the
>    release.
>    Thoughts?
>    -Sam Ellicott
>    Soli Deo Gloria

Hi,

thanks for mentioning this. In the meantime i've forked and begun 
re-integrating 
live-bootstrap from bootstrappable.org

This repository:
https://codeberg.org/aggi/tiny-bootstrap
contains a little related documentation and build-scripts
When looking for a sane and simple build/packaging system (instead of the
full-powered gentoo workflow i used before) i've chosen the live-bootstrap
steps/configurator workflow for this.

So far i've succeeded to replace tcc-0.9.27 with tcc-HEAD (from february this
year) for the tcc bootstrapping process with some intermediate pnut-cc compiler.
There is however another intermediate tcc-0.9.26 required for the bootstrapping
procedure which deserved a seperate thread to discuss this (maybe you remember
Janneke from bootstrappable.org who contacted tinycc-devel some years ago).
There was rumors among bootstrappable.org to avoid tinycc alltogether,
which i guess is a long way to go for them to accomplish this.
tiny-bootstrap already is in decent shape for some nightly build CI setup with
tinycc-HEAD.

My plan however is to re-integrate the complete(!) tinycc-toolchain driven
distribution and bootstrapping with the tiny-bootstrap project.
Which is alot of work remaining but unrelated to tinycc-devel discussions.

In recent days i've ported another AMD FM2 mainboard to coreboot/SeaBIOS.
With a little patching to coreboot linux-tcc 2.4 kernel runs amazing
including full-speed SATA/AHCI and Gigabit ethernet driver backported onto such
an old kernel.

Another idea is to fully support coreboot/seabios compilation with the
tinycc/yasm toolchain combination; so far i've only patched coreboot/seabios
to pass with gcc-4.7 again (which was the last non-c++ version from GNU).
There's a few open discussions concerning a tiny firmware bootstrap which
avoids the circular dependency graph too, which is not feasible with coreboot/
seabios, nor tinycc/yasm.

Anyway, the complete tinycc-distribution does compile and run just fine
already, i've migrated my entire development workstation onto this system
several month ago, no more kernel panics (except an asix usb-ethernet dongle
related issue which is fixed already); I've just not yet fully migrated the
build/packaging from gentoo/portage to live-bootstrap (which is alot of effort
but worth it because it's much simpler/faster and does not require python)
Currently it is another several hundred ebuilds remaining to re-write the
build/packaging for. Which is the reason why i've hacked coreboot for some AMD
FM2 board to have some faster build-host available for this to speed up
compilation further.

Since OpenSSL was mentioned, i've picked some recent Libressl version and
bearssl wherever applicable while ago which compile with tinycc just fine, and
otherwise a little patching to individual packages is unavoidable with tinycc
and no big issue - almost everything that's written in C does compile with
tinycc and packages which don't rely upon probably undesirable language features
(__thread, #generic, complex etc.)

Otherwise i've been a little tired in recent weeks due to bureaucratic stress
and political turmoil over my generous income situation in germany.
The hiring procedure as laboratory engineer and professor candidate at some
University in Thuringia got terminated indefinitely without any feedback. And
contacting several dozen government "startup" funding support and HR offices
did not yield anything either, except useless email spam. As you might guess,
i've not been in the best mood due to this situation. Furthermore i must send
regular job placement requests because publishing any work and discussing this
on mailing lists may not be considered sufficient by bureaucracy them saying
i probably didn't try my best (i spare you the details of this political
insanity nowadays in germany).

Anyway, for a future prospect, besides linux-tcc kernel i would recommend
tracking mentioned tiny-bootstrap repository.

Regards
Michael

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to