Displaying 2 results from an estimated 2 matches for "hascrtbeginendfiles".
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
...preventing clang adding
> crtbeginS.o and crtendS.o without --nostdlib or --nostartfiles but
> using these options will also not add the other crt*.o files that you
> may be expecting.
>
> There is a line in lib/Driver/Toolchains/Gnu.cpp which the Linux driver uses:
> const bool HasCRTBeginEndFiles =
> ToolChain.getTriple().hasEnvironment() ||
> (ToolChain.getTriple().getVendor() != llvm::Triple::MipsTechnologies);
> It looks like Musl may need to be included there?
I'll have a look, I don't know much the lowest part of the toolchain
build process so I don'...
2019 Mar 25
3
Trying to create a pure LLVM toolchain on musl based distribution
Hello,
I'm trying to create a pure LLVM toolchain (that will not depend on GNU
and produce GNU-free code too) on a musl based distribution.
For now, I use gcc to bootstrap and build all LLVM components. I do it
individually because I was running out of space and memory trying to
build all using LLVM_ENABLE_PROJECTS. Also, I don't want to create a
all-in-one package. Then, once