1 |
Dear all, |
2 |
|
3 |
Inspired by the list of alternative libraries from the musl project [1] |
4 |
and the "native clang" GSOC project [2], I have made a bootstrapped |
5 |
stage4 variant that some people might wan to play with. |
6 |
|
7 |
I have eliminated the dependency on gcc (all stdlibc++-dependencies |
8 |
compiled out, gcc uninstalled, alternative crtbegin/end from ELLCC |
9 |
included) |
10 |
|
11 |
My experimental stage4 can be found here: |
12 |
(any good ways to share stage4 builds?) |
13 |
|
14 |
https://mega.nz/#!g7oV2ZTA |
15 |
|
16 |
sha256sum : |
17 |
1caee9dcc25b27565a78f0c58fdcb24b38c85f6d3332130f591816b51568f4d9 |
18 |
|
19 |
The current variant have a few alterations from the normal musl stage3: |
20 |
|
21 |
1. gcc --> clang:4 (libc++, c++abi, ellcc crt) |
22 |
(note: had to move __dso_handle from crt1.c to crtbegin.c for it to |
23 |
work) |
24 |
2. readline --> libedit : a surprisingly simple replacement |
25 |
3. openssl --> libressl |
26 |
4. nano --> vim (personal preference) |
27 |
|
28 |
+ some useful stuff (gentoolkit,eix,...) |
29 |
|
30 |
Several TODOs (most importantly an up-to-date llvmlinux overlay to have |
31 |
a self-hosting system) |
32 |
Another thing that would be nice is a "fake" gcc-config that can point |
33 |
to the clang installation (some packages like busybox rely on gcc-config |
34 |
to find the complier) |
35 |
|
36 |
[1] http://wiki.musl-libc.org/wiki/Alternative_libraries |
37 |
[2] https://blogs.gentoo.org/gsoc2016-native-clang/2016/08/14/use-clang-as-a-native-compiler-in-gentoo/ |
38 |
|
39 |
Hopefully some of you will enjoy playing with it. I am going to abuse |
40 |
the system further to see how much alternative implementations I can |
41 |
implement in the system. |