Commit Graph

219 Commits

Author SHA1 Message Date
Andrius Štikonas 107aef4b57 Use newer autoconf for bash to avoid warnings.
We can use either 2.55 or 2.57, so use the newer.
2021-03-19 12:15:51 +00:00
Andrius Štikonas 7fdb12f08d Automake 1.8.5. 2021-03-19 12:15:51 +00:00
Andrius Štikonas eb4b623de9 Autoconf 2.59. 2021-03-19 12:15:51 +00:00
Andrius Štikonas abf09359c3 Autoconf 2.57. 2021-03-19 09:46:00 +00:00
Andrius Štikonas 16dba20254 Automake 1.7.8. 2021-03-18 20:03:23 +00:00
Andrius Štikonas d1d5ab1a20 GNU Autoconf 2.55. 2021-03-18 19:19:05 +00:00
Andrius Štikonas 5ecd548945 Automake 1.7 and Autoconf 2.54 2021-03-18 17:44:01 +00:00
Andrius Štikonas 2fb08b9cd3 Autoconf 2.53. 2021-03-17 23:46:23 +00:00
Paul Dersey 8565d26fef Update initial build of sed from version 4.0.7 to 4.0.9 2021-03-17 17:11:16 -04:00
Paul Dersey 6a5e57c2f8 helpers.sh: update default_src_unpack to support uncompressed tar files 2021-03-17 17:11:16 -04:00
fosslinux 0456b48038 Fix indentation in binutils-2.14 2021-03-18 07:22:10 +11:00
Andrius Štikonas 52cdbad405 Bootstrap aclocal. 2021-03-17 17:43:42 +00:00
Andrius Štikonas bb4d24509e Fix occasional flakiness in autoconf 2.12 build. 2021-03-16 09:07:10 +00:00
Andrius Štikonas 9fb1287f13 Replace automake 1.5 with automake 1.6.3 2021-03-16 00:29:06 +00:00
Paul Dersey 46b0d547a3 Move sed build to after tar and gzip 2021-03-15 17:18:51 -04:00
Paul Dersey 4ae5115d89 Remove sed submodule and update scripts to download sed tarball 2021-03-15 17:18:49 -04:00
Paul Dersey f2651ed9d6 tar: remove build dependency on sed 2021-03-15 17:15:03 -04:00
Paul Dersey 83cbe6731c gzip: remove build dependency on sed 2021-03-15 17:14:58 -04:00
Andrius Štikonas 7581244583 binutils-2.14: rebuild first half of intl/aclocal.m4.
Fixes: #65
2021-03-14 23:54:34 +00:00
Andrius Štikonas 281d5ed124 Add PS1 to interactive bash. 2021-03-14 23:27:51 +00:00
Andrius Štikonas fcc3a2ee74 Regenerate more autotools files in binutils 2.14. 2021-03-14 20:32:45 +00:00
Andrius Štikonas 69228987f5 Also bootstrap aclocal-1.4. 2021-03-14 20:32:45 +00:00
Andrius Štikonas 76d4e4ce94 Add automake 1.5. 2021-03-14 20:32:45 +00:00
Andrius Štikonas 0d14e34172 Launch interactive bash at the end of bootstrap. 2021-03-14 10:01:41 +00:00
Andrius Štikonas fe26bc4c8c Do not use pre-generated getdate.c 2021-03-13 21:31:27 +00:00
Andrius Štikonas 0b85b35da6 Rebuild libtool. 2021-03-13 00:01:30 +00:00
Andrius Štikonas 4463eedc03 Rebuild libtool files in binutils.
Fixes #58
2021-03-13 00:01:30 +00:00
Andrius Štikonas 2927547595 Add libtool 1.4. 2021-03-13 00:01:30 +00:00
Andrius Štikonas 3518f7cec0 Buil sed 4.0.9 with musl. 2021-03-13 00:01:30 +00:00
Andrius Štikonas 07dcb910b9 Fix occasional autoconf build failures. 2021-03-11 17:34:42 +00:00
Andrius Štikonas 55e2af0b22 Add dirname and env. 2021-03-10 18:53:18 +00:00
Andrius Štikonas f67ec28ed8 Perl needs fcntl to be able to run autoconf. 2021-03-09 22:58:40 +00:00
Andrius Štikonas 3969b281d6 Build perl with some modules. 2021-03-07 22:12:19 +00:00
Andrius Štikonas 8548c128b4 Simplify bash AR rule. 2021-03-06 00:07:02 +00:00
Paul Dersey cd0019e239 After building bash, call exec bash for new run2.sh script 2021-03-05 16:57:20 -05:00
Paul Dersey c0fedeba61 bash-3.2.57: Build new package to replace bash 2.05b
Resulting build now works interactively
2021-03-05 09:11:59 -05:00
Andrius Štikonas 7a4ca8e634 Rebuild tcc against new musl. 2021-03-03 20:36:12 +00:00
Andrius Štikonas f3cea25b87 Rebuild musl with fewer patches. 2021-03-03 20:36:12 +00:00
Andrius Štikonas ed0f613621 Add a patch to produce deterministic binutils archives. 2021-03-02 23:28:09 +00:00
Andrius Štikonas ecb6e4868a Be a bit more verbose when applying patches. 2021-03-02 22:02:07 +00:00
Andrius Štikonas 329f5ac73e Regenerate bfd header files. 2021-03-01 23:32:04 +00:00
Andrius Štikonas 1412fb99ec Remove flex generated files from binutils. 2021-02-28 22:32:37 +00:00
Andrius Štikonas 0be033fada Do remove empty checksum files. GNU sha256sum does not accept them. 2021-02-28 22:07:55 +00:00
Andrius Štikonas a27e7b99a7 Build sha256sum from coreutils 6.3. 2021-02-28 20:53:20 +00:00
Andrius Štikonas cb78359878 Fix libdir location. 2021-02-28 12:52:50 +00:00
Andrius Štikonas f70815aef4 Add binutils checksums 2021-02-28 12:52:33 +00:00
Andrius Štikonas 9122b5e2e0 Add description of binutils. 2021-02-28 12:52:19 +00:00
Andrius Štikonas cf9d0d1f3c Regenerate binutils bison files, autoconf and automake files. 2021-02-28 01:15:20 +00:00
Paul Dersey 21096f6ff2 start binutils 2021-02-28 01:08:00 +00:00
Andrius Štikonas 67cdd9124c Autoconf 2.12. 2021-02-27 23:51:06 +00:00
Andrius Štikonas 607991542d Add autoconf 2.13. 2021-02-27 23:51:06 +00:00
Andrius Štikonas 5be7064d5f Rebuild autoconf 2.52. 2021-02-27 23:38:21 +00:00
Andrius Štikonas b15a829675 Add automake-1.4-p6. 2021-02-27 23:38:21 +00:00
Andrius Štikonas c88e4c1ab7 Install autoconf 2.52. 2021-02-27 23:35:33 +00:00
Andrius Štikonas d7794f8f15 Create device nodes. 2021-02-27 21:06:29 +00:00
fosslinux 9f92dd2fb1
Merge pull request #51 from fosslinux/part-numbering
Change the part numbering system
2021-02-28 08:05:51 +11:00
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
Andrius Štikonas 2594242817 Install bzip2 symlinks. 2021-02-26 19:41:40 +00: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