Commit graph

181 commits

Author SHA1 Message Date
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
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
fosslinux
62a413d384
Merge pull request #47 from fosslinux/README-update
Various updates to README.md
2021-02-23 07:00:49 +11:00
fosslinux
c38555e462 Various updates to README.md
- All lines to 80 length.
- Add sha-2 description.
- Add part 12a.
- Add note about cp replacement.
- Add description for recompilation of musl and tcc.
- Fix later parts.
- Add more descriptions to perl sections.
2021-02-22 18:27:45 +11:00
fosslinux
1f830b222f
Merge pull request #44 from stikonas/perl
Perl 5.005_03
2021-02-22 17:24:47 +11: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
fosslinux
b51a2ec069 Merge branch 'pder-rebuild-musl' 2021-02-21 22:26:11 +11: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
Andrius Štikonas
781602e4ce Fix font size in heading. 2021-02-21 22:25:30 +11:00
fosslinux
813204326e
Merge pull request #43 from stikonas/minor_cleanup
Minor cleanup
2021-02-21 08:09:45 +11:00
Andrius Štikonas
0232a20dde Fix some typos. 2021-02-20 12:06:33 +00:00
Andrius Štikonas
1f821360bb Cleanup after configure. 2021-02-20 12:04:18 +00:00
Andrius Štikonas
476cdfed73 Fix font size in heading. 2021-02-20 10:19:41 +00:00
fosslinux
7099319284
Merge pull request #39 from fosslinux/checksumming
Checksumming
2021-02-20 20:32:58 +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
f1a2910979 Add guidelines regarding checksumming to DEVEL.md 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
44bad278e0 Add optional output_filename argument in rootfs.sh
Downloads to a particular filename, allows for different names than
whatever is upstream.
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
192221af22 Add fletcher16-gen developer util
1. I'm not convinced our fletcher16 implementation is proper
2. It is not in coreutils

So we add some basic code to do that.

This is also the first dev-util, so add some documentation to DEVEL.md.
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
fosslinux
e2796e8d57
Merge pull request #40 from stikonas/perl
Add perl 5.004_05 (5.4.50).
2021-02-18 18:38:34 +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
fosslinux
fe421b6954
Merge pull request #42 from pder/gawk-segfault
Fix segfault in gawk due to some missing Makefile preprocessor defines
2021-02-16 16:32:58 +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
9bd3ba745c
Merge pull request #34 from pder/coreutils2
Rebuild coreutils-5.0 with tcc+musl and more utilities
2021-02-12 21:47:50 +11: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
fosslinux
becc35843b
Merge pull request #38 from pder/musl-stdio-fix
musl: Force line buffering when writing to stdout
2021-02-12 17:41:37 +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
fosslinux
1eb67e5fd1
Merge pull request #36 from stikonas/bison
Add bison 3.4.1.
2021-02-11 16:35:24 +11:00