4 ms·
FreeBSD has moved to llvm.
by fegu 9y ago
FreeBSD has moved to llvm.
- bch 9y agoNetBSD also supports clang/llvm. https://wiki.netbsd.org/tutorials/pkgsrc/clang/ https://wiki.netbsd.org/tutorials/pkgsrc/clang/
- oblio 9y agoFor the base system or for everything? I doubt they moved the ports to compiling to LLVM.
- lmm 9y agoIt's the default for anything. Many ports override that and specify gcc (but that was already the case in a lot of cases where they needed a newer version than what shipped in the base system).
- bluGill 9y agoStarting FreeBSD 10 (released in 2014) the default for everything including ports was to build with clang. There was a large effort leading up to that to get as many ports as possible building with clang. Many bugs in clang were fixed, and patches were submitted upstream to make others work. At this time that effort is dead: the few ports that don't build with clang are accepted as doing something that will never work.
- loeg 9y agoFor compiler for base and most of ports, yes. The linker is still an ancient GPL2 GNU binutils one.