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>
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).
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!
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.
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()
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.
overload 'wget' with a function,
so all wget downloads are cached in
ether 'sources' or ENV defined using $CACHEDIR.
directory 'sources' is already in .gitignore
checksum store is in root-dir of repo
and can be manually checked with:
( cd sources && sha256sum -c ../SHA256SUMS.sources )
introducing '$GITDIR' and enforce run in this dir.