Clang as default compiler November 4th

看板FB_current作者時間13年前 (2012/09/11 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/86 (看更多)
--8vCeF2GUdMpe9ZbK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Please confine your replies to toolchain@freebsd.org to keep the thread on the most relevant list.] For the past several years we've been working towards migrating from GCC to Clang/LLVM as our default compiler. We intend to ship FreeBSD 10.0 with Clang as the default compiler on i386 and amd64 platforms. To this end, we will make WITH_CLANG_IS_CC the default on i386 and amd64 platforms on November 4th. What does the mean to you? * When you build world after the default is changed /usr/bin/cc, cpp, and c++ will be links to clang. * This means the initial phase of buildworld and "old style" kernel compilation will use clang instead of gcc. This is known to work. * It also means that ports will build with clang by default. A major of ports work, but a significant number are broken or blocked by broken ports. For more information see: http://wiki.freebsd.org/PortsAndClang What issues remain? * The gcc->clang transition currently requires setting CC, CXX, and CPP in addition to WITH_CLANG_IS_CC. I will post a patch to toolchain@ to address this shortly. * Ports compiler selection infrastructure is still under development. * Some ports could build with clang with appropriate tweaks. What can you do to help? * Switch (some of) your systems. Early adoption can help us find bugs. * Fix ports to build with clang. If you don't have a clang system, you can use the CLANG/amd64 or CLANG/i386 build environments on redports.org. tl;dr: Clang will become the default compiler for x86 architectures on 2012-11-04 -- Brooks --8vCeF2GUdMpe9ZbK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQTlekXY6L6fI4GtQRAuwKAJ4/bCjiPFP2zZ3azflWrDv1xgwZlQCfeBVy E2GYj9wze230nn0uttWW1Ic= =ST1I -----END PGP SIGNATURE----- --8vCeF2GUdMpe9ZbK--
文章代碼(AID): #1GJbnK_t (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GJbnK_t (FB_current)