fosslinux / fosslinux/live-bootstrap

Alternative tcc bootstrap path

Open
#355 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
750
Forks
62
PR merge metrics
No merged PRs in 30d

Description

I've been working on an alternative bootstrap path for tcc (https://github.com/cosinusoidally/tcc_bootstrap_alt). I am able to go from a cut down version of stage0-posix-x86 (I only need cc_x86) all the way up to tcc-0.9.27. I hacked a version of live-bootstrap to use my alternative path (https://github.com/cosinusoidally/live-bootstrap/compare/master...cosinusoidally:live-bootstrap:tcc_bootstrap_alt). With my tweaks to live-bootstrap on my vm I was able to reduce the time to get to tcc-0.9.27 from around 30mins to around 3:45mins. It's also possible to use this to get to tcc-0.9.27 in < 512MB of RAM. The speed improvements are largely due to not building or using mescc (though I do still use meslibc).

I noticed that https://github.com/fosslinux/live-bootstrap/pull/334 has landed recently, so I'll probably refactor my live-bootstrap branch once that has stabilised and then raise a PR.

I was wondering what it would take to integrate this as an optional bootstrap path for live-bootstrap? There are quite a few limitations to my approach (the major one being that it's i386 only) but it does have the advantage of being considerably faster.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.