linux

推荐列表 站点导航

当前位置:首页 > 操作系统 > linux >

FreeBSD Is No Longer Building GCC By Default

来源:网络整理  作者:fen  发布时间:2020-12-25 14:00
As of last week, the GNU Compiler Collection (GCC) is no longer being compiled by default as part of the FreeBSD base system.Going back for many months...
As of last week, the GNU Compiler Collection (GCC) is no longer being compiled by default as part of the FreeBSD base system.

Going back for many months we have known that FreeBSD developers (and BSD users in general) have been pushing for a LLVM/Clang world and to limit the usage of GCC. Clang has grown in functionality for being on-par with GCC as a C/C++ compiler and it's more liberally licensed than the GPLv3 GCC and the LLVM-based feature-set continues to expand like faster and lighter compilations. This has been part of the plan for FreeBSD 10.

For nearly one year in the FreeBSD "head" state for FreeBSD 10, Clang has been the default x86 compiler over GCC. Clang is their future. The change made to the latest FreeBSD 10 state as of 7 September is that GCC and the libstdc++ C++ standard library are no longer built by default on platforms where Clang is the system compiler.

Up to now GCC was still part of the FreeBSD base system, but for architectures where Clang is being used -- including x86 and x86_64/amd64 -- GCC is being wiped out. This also includes removing libstdc++ as FreeBSD is using LLVM's libc++ library. Those wanting to still keep GCC on their system to live alongside Clang will need to set WITH_GCC and WITH_GNUCXX in their src.conf.

Other interesting features of FreeBSD 10 are covered in this article. FreeBSD 10 will likely be released in 2014 while developers are currently working on the belated FreeBSD 9.2 update.

相关热词:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/xt/linux/8939.shtml

最新文章
并进行了数次优化更改 并进行了数次优化更改

时间:2021-01-23

在Linus发表文章的第二年 在Linus发表文章的第二年

时间:2021-01-23

当一个文件被加载时 当一个文件被加载时

时间:2021-01-21

 与--delete 呼应的是--exis 与--delete 呼应的是--exis

时间:2021-01-21

 $top top-18:50:38up6days $top top-18:50:38up6days

时间:2021-01-21

CLI和程序包管理器使开发 CLI和程序包管理器使开发

时间:2021-01-20

但是有时候这个系统上跑 但是有时候这个系统上跑

时间:2021-01-20

配置好prometheus数据源 配置好prometheus数据源

时间:2021-01-20

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

FreeBSD Is No Longer Building GCC By Default

2020-12-25 编辑:fen

As of last week, the GNU Compiler Collection (GCC) is no longer being compiled by default as part of the FreeBSD base system.

Going back for many months we have known that FreeBSD developers (and BSD users in general) have been pushing for a LLVM/Clang world and to limit the usage of GCC. Clang has grown in functionality for being on-par with GCC as a C/C++ compiler and it's more liberally licensed than the GPLv3 GCC and the LLVM-based feature-set continues to expand like faster and lighter compilations. This has been part of the plan for FreeBSD 10.

For nearly one year in the FreeBSD "head" state for FreeBSD 10, Clang has been the default x86 compiler over GCC. Clang is their future. The change made to the latest FreeBSD 10 state as of 7 September is that GCC and the libstdc++ C++ standard library are no longer built by default on platforms where Clang is the system compiler.

Up to now GCC was still part of the FreeBSD base system, but for architectures where Clang is being used -- including x86 and x86_64/amd64 -- GCC is being wiped out. This also includes removing libstdc++ as FreeBSD is using LLVM's libc++ library. Those wanting to still keep GCC on their system to live alongside Clang will need to set WITH_GCC and WITH_GNUCXX in their src.conf.

Other interesting features of FreeBSD 10 are covered in this article. FreeBSD 10 will likely be released in 2014 while developers are currently working on the belated FreeBSD 9.2 update.

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/xt/linux/8939.shtml

相关文章

风云图片

推荐阅读

返回linux频道首页