Commit graph

26 commits

Author SHA1 Message Date
Andrius Štikonas
419cd74d92 Move tcc 0.9.27 after bzip2.
This also allows to merge two builds of tcc 0.9.27.
Drop tcc 0.9.27 git submodule.
2021-04-17 01:29:31 +01:00
Andrius Štikonas
f030a3a74e Add untar.c 2021-04-17 01:29:31 +01:00
Andrius Štikonas
713fd9143f Port rootfs.sh to Python 2021-04-11 00:06:24 +01:00
Andrius Štikonas
70d1fc4163 Add support for DESTDIR variable in make install. 2021-04-02 12:24:40 +01:00
Andrius Štikonas
aa31fbc95b Patch tcc to ignore static inside array. 2021-03-31 18:14:01 +01:00
Andrius Štikonas
30ebe8ccba Install musl headers directly into /after/include. 2021-03-20 23:29:51 +00:00
Andrius Štikonas
1aeb4c11f7 Get rid of tcc-mes. 2021-03-20 23:20:25 +00:00
Andrius Štikonas
7a4ca8e634 Rebuild tcc against new musl. 2021-03-03 20:36:12 +00:00
Andrius Štikonas
7e9054570e Add cp to coreutils checksums and use cp to unpack tcc sources. 2021-02-21 12:24:05 +00:00
Paul Dersey
7803089a6b Build and install cp from coreutils to replace our minimal cp
Also update tcc-musl.sh to take advantage that cp can now copy
recursively
2021-02-21 12:24:05 +00:00
Paul Dersey
756ba1702b Rebuild musl libc after building tcc-musl, and then rebuild tcc-musl
This fixes an issue with printf not printing doubles or floats
correctly, and probably other subtle issues.

tcc-musl also uses floats extensively, so rebuild it as well, to fix
some other potential issues.

Update checksums for all resulting binaries which have now changed.

Co-authored-by: fosslinux <fosslinux@aussies.space>
2021-02-21 22:25:41 +11:00
fosslinux
77ccf06efc Implement sha256summing in bash build harness
1. Adds sha256sum stage to the bash build harness.
2. Adds a third argument to build(), the checksum file name. This is
   used where there is more than one checksum file, most notably
   in multi-stage compilations.
3. Adds checksum files to all remaining programs.
4. Adds appropriate 3rd argument where needed (coreutils, tcc-musl,
   bison).
2021-02-20 10:52:54 +11:00
fosslinux
8724c94d20 Implement sha256summing for all remaining kaem scripts 2021-02-20 10:52:54 +11:00
fosslinux
372e08e4f9 Implement fletcher16 checksumming up to path
Uses fletcher16 from previous commits.
Next we will use sha-2 to do checksumming.
2021-02-20 10:52:54 +11:00
fosslinux
72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00
fosslinux
e9c8313458
Merge pull request #26 from stikonas/musl
Musl
2021-02-04 21:40:08 +11:00
Andrius Štikonas
e0fba919a2 Build tcc-musl. 2021-02-04 08:35:50 +00:00
fosslinux
f7ea086630 Add patch headers
Also cleanup the flex patch a bit
2021-02-04 16:43:20 +11:00
Paul Dersey
b929dc84b4 Fix mes-libc crt1 to allow commands with greater than 255 arguments to run
Also reverse order of tcc-patched and mes-libc-patched stages.
2021-02-03 13:40:56 -05:00
fosslinux
9961c4b75f Remove sources/ directory 2021-01-31 21:12:53 +11:00
Paul Dersey
7c90d5bf4c Add new step mes-libc-patched 2021-01-29 16:43:01 -05:00
Paul Dersey
85ead5582e tcc-0.9.27: move code to compile libc into separate kaem script 2021-01-29 16:37:01 -05:00
fosslinux
5a369dc783 Restructure 2021-01-20 15:24:37 +11:00
fosslinux
90cd17e453 Revert "Revert "Add tcc 0.9.27""
This reverts commit 238bd677d7.

We can just specifiy -static manually.
2021-01-11 10:40:25 +11:00
fosslinux
238bd677d7 Revert "Add tcc 0.9.27"
This reverts commit 1ebbd69c79.

This requruies sed first to make a modification.
2021-01-11 10:33:09 +11:00
fosslinux
1ebbd69c79 Add tcc 0.9.27
This is the final tcc.
2021-01-10 19:42:58 +11:00