Add flex 2.6.4.

This commit is contained in:
Andrius Štikonas 2021-02-04 18:37:43 +00:00
parent e9c8313458
commit fb522be854
10 changed files with 80 additions and 84 deletions

View file

@ -262,8 +262,8 @@ cope here.
#### Part 21: m4 1.4
`m4` is the first piece of software we need in the autotools suite. It allows
macros to be defined and files to be generated from those macros.
`m4` is the first piece of software we need in the autotools suite and flex 2.6.4.
It allows macros to be defined and files to be generated from those macros.
#### Part 22: flex 2.5.11
@ -274,11 +274,7 @@ first flex 2.5.11 is compiled, with its scanner definition manually modified so
it can be processed by lex for the Heirloom project (the required modifications
are mostly syntactical, plus a few workarounds to avoid some flex advanced features).
#### Part 23 flex 2.5.14
Then we recompile unpatched `flex` using its own lexer.
#### Part 24 musl 1.1.24
#### Part 23 musl 1.1.24
`musl` is a C standard library that is lightweight, fast, simple, free, and strives to be correct
in the sense of standards-conformance and safety. `musl` is used by some distributions of GNU/Linux
@ -289,8 +285,14 @@ newer or more complex programs.
we replace all weak symbols with strong symbols and will patch `tcc` in the next step to ignore duplicate
symbols.
#### Part 25 tcc 0.9.27 (musl)
#### Part 24 tcc 0.9.27 (musl)
We recompile `tcc` against musl. This is a two stage process. First we build tcc-0.9.27 that itself
links to Mes C library but produces binaries linked to musl. Then we recompile newly produced tcc
with itself. Interestingly, tcc-0.9.27 linked against musl is self hosting.
#### Part 25 flex 2.6.14
We recompile unpatched GNU `flex` using older flex 2.5.11. This is again two stage process,
first compile flex using scanner generated by old flex, then recompile scan.l using the new version
of flex to remove any buggy artificats from the old flex.