[cfe-dev] crtbegin.o and crtend.o replacements

C Bergström via cfe-dev cfe-dev at lists.llvm.org
Wed Jul 20 10:00:59 PDT 2016


NetBSD has some iirc - I forget the exact link to them, but I suspect
someone else can help out with that.

On Thu, Jul 21, 2016 at 12:57 AM, Armin K. via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hi all,
>
> I'm trying to build clang and use it as a main compiler. I've ran into
> a problem, however.
>
> I can easily drop libgcc* requirement by using llvm's libunwind, as it
> seems to be good enough, libgomp with llvm's openmp runtime, as well as
> libstdc++ by using libc++/libc++abi.
>
> However, the two files that I can't find a suitable replacement for are
> the ones mentioned in the title. On my system, those two are provided by
> gcc itself.
>
> Is there any replacement for those files, so they can be used in combination
> with glibc and GNU binutils?
>
> I have found some [1], but they are for x86_64, and I'd welcome such files
> for more architectures, namely armv7, armv8, x86_32, etc.
>
> [1] http://wiki.musl-libc.org/wiki/BuildingLLVM
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list