Op 16-12-2025 om 11:46 schreef Michael Ackermann:
Greetings.

Didn't show up on tinycc-devel for a while, so let me start with the good news:
Since recently a self-hosting compilation of a complete tinycc-driven system
succeeded, after almost three years of 24/7 hackathon of mine it's a
major break-through!

As introductory note for the reasoning behind i want to mention some
documentation again which was put online at a tiny test-site here:
http://tinyfront.mooo.com/docs.html

Besides compile-time testing of tinycc now this too involves notable
runtime-testing with alot of programs that were compiled by tinycc itself:

$ i386-tcc --version
tcc version 0.9.28rc 2025-02-13 HEAD@f8bd136d* (i386 Linux)

This time a problem occured with mkisofs.static compiled/linked with tinycc
which the following patch circuumvents.

diff -Naur cdrtools-3.02.orig/mkisofs/write.c cdrtools-3.02/mkisofs/write.c
--- cdrtools-3.02.orig/mkisofs/write.c  2025-12-12 11:34:19.000000000 -0000
+++ cdrtools-3.02/mkisofs/write.c       2025-12-12 11:40:04.000000000 -0000
@@ -165,13 +165,7 @@
  #define        FILL_SPACE(X)   memset(vol_desc.X, ' ', sizeof (vol_desc.X))

  EXPORT void
-xfwrite(buffer, size, count, file, submode, islast)
-       void    *buffer;
-       int     size;
-       int     count;
-       FILE    *file;
-       int     submode;
-       BOOL    islast;
+xfwrite(void *buffer, int size, int count, FILE *file, int submode, BOOL 
islast)
  {
         /*
          * This is a hack that could be made better.

Current tcc is at:
tcc version 0.9.28rc 2025-12-15 mob@8569427 (i386 Linux)

We made some changes this year in this area so please try latest version.

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

Reply via email to