3 ms·
So FreeBSD was supporting GCC 4.2.1 but not upgrading to newer GCCs over the years. GCC is currently at 9.2. Apparently the reason for this is GCC's move to GP
by CalChris 7y ago
So FreeBSD was supporting GCC 4.2.1 but not upgrading to newer GCCs over the years. GCC is currently at 9.2.
Apparently the reason for this is GCC's move to GPL v3. So FreeBSD was forced to remain using GCC 4.2.1, GPL v2.
As far as Clang goes, is FreeBSD tracking/upgrading to newer Clang versions? I assume the answer is yes but I don't know.
- takeda 7y agoYes, they are updating it regularly: https://svnweb.freebsd.org/base/head/UPDATING?revision=358497&view=markup https://svnweb.freebsd.org/base/head/UPDATING?revision=35849...
- loeg 7y agoYes, GCC 4.2.1 for tier 2 and 3 architectures only (like MIPS or PPC) for quite some time. Clang/LLVM was imported into FreeBSD base in FreeBSD 9, released in 2012[1]. I don't believe it was the system compiler for any arch at that time, but could be wrong. In FreeBSD 10 (2014) it became the default compiler for amd64/i386[2]. [1]: https://www.freebsd.org/releases/9.0R/announce.html https://www.freebsd.org/releases/9.0R/announce.html [2]: https://www.freebsd.org/releases/10.0R/relnotes.html https://www.freebsd.org/releases/10.0R/relnotes.html
- thescriptkiddie 7y ago"Forced" is a bit of an overstatement. Other BSDs ship with newer versions of GCC, FreeBSD just disagreed with the GPLv3 tivoization clause.