Commit Graph

112 Commits

Author SHA1 Message Date
fosslinux 8eec63e1b7 Change the part numbering system + Move to .rst
Parts have been split out into seperate file from README. Convert
README to .rst; remove part numbers from scripts.
2021-02-28 08:04:28 +11:00
fosslinux 40bdcee0ac
Merge pull request #50 from fosslinux/remove-blynn
Remove blynn-compiler
2021-02-26 10:13:48 +11:00
fosslinux 116cc15086 Remove blynn-compiler
(at least for now)

Reasons:

1. It takes quite a long time to build.
2. It does not currently provide any value to the bootstrap.
2021-02-26 08:53:14 +11:00
Andrius Štikonas 5626e0e976 Add Perl 5.6.2. 2021-02-25 17:41:09 +00:00
Paul Dersey a6bc93b059 helpers.sh: fix default_src_unpack for tar 1.12
tar 1.12 does not support j for bzip2 or J for xz.
Instead use --use-compress-program
2021-02-24 16:02:53 -05:00
Paul Dersey a3ec56297f Rebuild bzip2 after building tcc and musl
The tcc-mes build of bzip2 was unable to open files from stdin.
2021-02-24 16:02:47 -05:00
Andrius Štikonas 9b314af3f0 Resync part numbers between README, after.kaem.run and run.sh. 2021-02-21 16:53:19 +00:00
Andrius Štikonas d5c8698964 Reduce number of places where perl version is hardcoded. 2021-02-21 16:53:19 +00:00
Andrius Štikonas 4276dfee1d Perl 5.005_03 2021-02-21 15:45:15 +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
Andrius Štikonas 58fb72be92 Fix some typos. 2021-02-21 22:25:30 +11:00
Andrius Štikonas 35e68bf298 Cleanup after configure. 2021-02-21 22:25:30 +11:00
fosslinux 87b303f455 Add perl checksums
And the gawk change, fix checksums for that as well

For commit e2796e8.
2021-02-20 10:52:54 +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 d6780c9947 Recheck all of the fletcher16 using sha-2
Ensure validity at a higher bit depth
2021-02-20 10:52:54 +11:00
fosslinux 92cb05442e Add sha-2 (commit 61155d)
Unfortunatley the sha2 project does not have versioned releases so we
use the latest commit.

We have also manually added a frontend to sha-2 to allow us to invoke
it from the command line, thanks bittrof for the help!
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 71505bc8b9 Add fletcher16 impl to mescc-tools-extra 2021-02-20 10:52:54 +11:00
Andrius Štikonas d4ddf4b79b Build Perl 5.4.50. 2021-02-18 00:04:20 +00:00
Andrius Štikonas 621b099a57 Switch to perl tarballs generated from archiving git tags. 2021-02-17 20:23:50 +00:00
Andrius Štikonas e9455c8463 Install perl 5.003 library files. 2021-02-17 00:20:51 +00:00
Andrius Štikonas 7bace0cc99 Build perl 5.003. 2021-02-16 23:49:02 +00:00
Andrius Štikonas 221b1d07ad Add perl 5.000. 2021-02-16 20:25:25 +00:00
Andrius Štikonas aa11513fdd gawk: enable bit operations. 2021-02-16 17:48:00 +00:00
fosslinux 574cba3bcb
Merge pull request #41 from pder/stdio-flush-on-exit
Flush stdio buffers on exit
2021-02-16 16:33:10 +11:00
Paul Dersey edf8a802bc Flush stdio buffers on exit
Make sure real __stdio_exit() is called on exit and not the dummy noop
versions.  This fixes the issue of truncated output when redirecting
output to a file or pipe.  It also fixes truncated output on programs
that forget to call fclose()
2021-02-15 10:09:22 -05:00
Paul Dersey 6dadfad9b8 Fix segfault in gawk due to some missing Makefile preprocessor defines 2021-02-15 10:03:21 -05:00
fosslinux ae680b79e5
Merge branch 'master' into coreutils2 2021-02-12 17:47:43 +11:00
fosslinux b7400923b6
Merge pull request #37 from stikonas/gawk
Add gawk-3.0.4.
2021-02-12 17:42:13 +11:00
Paul Dersey c2e5a1c01a musl: Force line buffering when writing to stdout
This is a workaround for an issue in which binaries compiled with our
tcc+musl toolchain can fail to write complete output when stdout is
redirected to a file or pipe.
2021-02-11 18:37:03 -05:00
Paul Dersey d5a9f4c9ea Rebuild coreutils-5.0 with tcc+musl and more utilities
Add comm, expr, date, dd, sort, uname, uniq
2021-02-11 18:35:28 -05:00
Andrius Štikonas abcc904d9d Add gawk-3.0.4. 2021-02-11 21:36:59 +00:00
Andrius Štikonas 1a93f19e9c Add bison 3.4.1. 2021-02-10 22:47:20 +00:00
fosslinux 72b1b30c9b Comply with REUSE 3.0 2021-02-08 20:00:10 +11:00
Andrius Štikonas c9a390d67c Update m4 to 1.4.7 2021-02-07 17:33:09 +00:00
Andrius Štikonas e20ce6fdca Move diffutils after musl. 2021-02-06 00:16:32 +00:00
Andrius Štikonas ec06f1363f Remove yacc, we won't need it anymore. 2021-02-05 22:57:25 +00:00
Andrius Štikonas 13b030e1ed Move grep after musl. 2021-02-05 22:57:24 +00:00
Andrius Štikonas 3e7b17c03e Update m4 from 1.4 to 1.4.4. 2021-02-05 22:56:59 +00:00
Andrius Štikonas fb522be854 Add flex 2.6.4. 2021-02-05 22:56:56 +00: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
Andrius Štikonas 9ddc0bcee6 Add musl 1.1.24. 2021-02-03 22:09:30 +00:00
Andrius Štikonas 9d5519ad79 Unset overridden functions at the end of build function. 2021-02-03 22:09:30 +00:00
Andrius Štikonas 066d32933d Fix src_unpack not being sourced. 2021-02-03 21:30:12 +00: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