Gentoo Archives: gentoo-musl

From: Jens Staal <staal1978@×××××.com>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-musl <gentoo-musl@l.g.o>, llvm@g.o
Subject: [gentoo-musl] Re: Self-hosting Clang-based (libc++, musl libc) stage4
Date: Sun, 07 May 2017 09:21:00
Message-Id: 20170507091954.GB2655@Krypton.localdomain
1 On Sun, May 07, 2017 at 09:27:41AM +0200, Michał Górny wrote:
2 > On nie, 2017-05-07 at 08:05 +0200, Jens Staal wrote:
3 > > - it would be really cool if an "official" custom crt package for
4 > > llvm/clang could be in portage
5 > >
6 >
7 > This is something I really look forward to adding. Any suggestion on
8 > which crt implementation to use?
9 >
10 > I know that glibc provides crt1/i/n. Does musl provide them too, or does
11 > it need a more complete crt* set?
12 >
13 > --
14 > Best regards,
15 > Michał Górny
16
17 musl itself does not provide crt* as far as I know, but I downloaded the
18 relevant files from ELLCC, which is a musl/libc++ LLVM/clang toolchain
19
20 http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/src/musl/crt/
21
22 Those crt files originate from NetBSD and googling for crt
23 implementations often point to the NetBSD variants as drop-in
24 replacements of libgcc.