<div dir="ltr"><div>Hello</div><div><br></div><div>I've been excited about possibility to make it easier to create linux distribution from scratch. For that I've been working on a study linux distribution that I call lelux: <a href="https://github.com/cheery/lelux">https://github.com/cheery/lelux</a><br>
</div><div><br></div><div>If I wanted to get my distribution further than this I should get a compiler inside the distribution. I suppose clang would be easy target because it's well-structured and based on LLVM, which is itself really sane project. I would also like if it used musl instead of glibc.</div>
<div><br></div><div>So, how could I compile myself a clang, which compiles software with musl, and would work within a really bare linux distribution, such as the one I made with handful of system files?</div><div><br></div>
<div>I've seen and tried <a href="http://wiki.musl-libc.org/wiki/BuildingLLVM">http://wiki.musl-libc.org/wiki/BuildingLLVM</a> but I wonder if things have changed since that page was written.</div></div>