Rebuild musl libc after building tcc-musl

This fixes an issue with printf not printing doubles or floats
correctly, and probably other subtle issues.
This commit is contained in:
Paul Dersey 2021-02-19 11:14:54 -05:00
parent e2796e8d57
commit e0c55f7fba
2 changed files with 3 additions and 1 deletions

View file

@ -290,7 +290,8 @@ patch `tcc` in the next step to ignore duplicate symbols.
We recompile `tcc` against musl. This is a two stage process. First we build 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 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, musl. Then we recompile newly produced tcc with itself. Interestingly,
tcc-0.9.27 linked against musl is self hosting. tcc-0.9.27 linked against musl is self hosting. Finally, we rebuild musl once more
with the new `tcc`.
#### Part 22: m4 1.4.7 #### Part 22: m4 1.4.7

View file

@ -17,6 +17,7 @@ build musl-1.1.24
# Part 21 # Part 21
build tcc-0.9.27 tcc-musl.sh build tcc-0.9.27 tcc-musl.sh
build musl-1.1.24
# Part 22 # Part 22
build m4-1.4.7 build m4-1.4.7