3 ms·
What do you mean a bootstrap target? What specifically does gcc provide that clang doesn't?
by pertymcpert 5y ago
What do you mean a bootstrap target? What specifically does gcc provide that clang doesn't?
- choeger 5y agoGCC specifically has bootstrapping as a feature in the build system. They take care to document which older version of GCC is required to build a newer versions. If you pick a version that doesn't rely on C++ (4.x IIRC) you can compile GCC with a very small and general C compiler (tinycc or so). That helps to provide a chain of trust and also gives you access to a new platform if necessary. LLVM only offers cmake so you always need a (full-feature) C++ compiler to build it. That being said, GCC could make things better by providing a C-only entry point in modern releases, but it's still better than LLVM in that regard.
- pertymcpert 5y agoI don't understand. You could just cross compile LLVM onto a new platform from another host arch. You don't need to have a very long sequence of bootstrap builds, just directly jump.