[cfe-dev] How could I get clang with musl into fresh linux distribution?
Richard Pennington
rich at pennware.com
Sun Oct 13 11:41:49 PDT 2013
On 10/13/2013 08:23 AM, Henri Tuhola wrote:
> Hello
>
> 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: https://github.com/cheery/lelux
>
> 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.
>
> 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?
>
> I've seen and tried http://wiki.musl-libc.org/wiki/BuildingLLVM but I
> wonder if things have changed since that page was written.
>
Hi,
My distribution of clang/LLVM (http://ellcc.org) uses musl. It would be
very interesting to build your Linux kernel using clang as they are
doing at http://llvm.linuxfoundation.org/index.php/Main_Page
-Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131013/604d71e1/attachment.html>
More information about the cfe-dev
mailing list