3 ms·
It forces you to include a C++ compiler in your toolchain, which might not be possible for older systems, etc.
by antiquark 7y ago
It forces you to include a C++ compiler in your toolchain, which might not be possible for older systems, etc.
- jfkebwjsbx 7y agoEvery system has a C++ compiler nowadays, and if they do not, you have plenty options to compile yourself one.
- kevin_thibedeau 7y agoNo they don't.
- jupp0r 7y agoDo you have an example? Keep in mind that we are not talking about the host platform here, but the target platform.
- whizzter 7y agoNot a problem for LLVM since it's linker is always a cross-linker so if you're targetting a new (or only use the older platform as a compile target) then the initial cross-compile will be able to produce the binaries. If the older system can't support the LLVM toolchain memory wise or otherwise then it's not really a problem either. https://lld.llvm.org/ https://lld.llvm.org/
- jupp0r 7y agoYou only need a C++ compiler to build llvm-libc itself. You do not need a C++ compiler to use it in your C program.