1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Libc++ Has Landed

BSD

Published on 24 May 2012 01:30 AM EDT
Written by Michael Larabel in BSD
1 Comment

The LLVM-spawned libc++ standard C++ library has now landed within FreeBSD.

As I reported on Phoronix earlier this month and was widely-carried by other news outlets after that, FreeBSD 10 will using the LLVM/Clang compiler and deprecate GCC. The BSD camp wants to get rid of the GPL-licensed compiler from the Free Software Foundation and replace it with the younger but promising Apple-sponsored and BSD-style-licensed LLVM and Clang; see the earlier Phoronix articles on the topic for greater detail.

As the latest step in this default compiler migration and throwing out GPL code from BSD, a message arrived on the FreeBSD-Stable mailing list on Wednesday entitled libc++ has landed. Being merged into FreeBSD 9-STABLE is libc++ and its dependencies. This change will first be found in FreeBSD 9.1, which is due to be branched soon.

Due to libc++ being written in C++11, and the FreeBSD base relying upon an outdated GCC release, the C++ standard library can only be built if using Clang to begin with. The libc++ introduction also requires a very recent libc implementation.

The libstdc++ replacement library from the LLVM project is dual-licensed under the MIT and UIUC licenses. The library aims to be compatible with the C++0x/C++11 standard, provide fast execution, minimal memory use, and fast compile times. The libc++ implementation also aims to be ABI compatible with the reference libstdc++ library from GCC when it comes to low-level features. Additional libc++ information is available from libcxx.llvm.org.

It was also one year ago that PathScale gave FreeBSD and NetBSD a new C++ run-time. This code donation from the PathScale compiler company was in the form of the libcxxrt C++ run-time. This run-time was done under the two-clause BSD license in order to ditch the GPL-licensed libsubc++ library.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  2. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  3. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  4. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
Latest Linux News
  1. F2FS Tools Gain FSCK Support
  2. FreeBSD 10.1 Has The New VT Driver, Hardware Improvements
  3. AntiMicro 2.6 Yields Greater Compatibility For Gamepads On Linux
  4. OpenGL 3.3 / GLSL 3.30 Lands For Intel Sandy Bridge On Mesa
  5. AMD's RadeonSI Gallium3D Driver Sees Some Improvements
  6. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
  7. GNOME 3.13.92 Officially Released
  8. Wine 1.7.27 Is Still Working Towards Direct2D Support
  9. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  10. Tropico 5 Launches On Steam For Linux
Latest Forum Discussions
  1. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  2. SSD seems slow
  3. R. Tyler restarts work on FreeBSD launchd port, openlaunchd
  4. Can Linux kill a motherboard?
  5. Stop grabbing my keyboard :(
  6. Glamor now enabled in Debian radeonsi
  7. New stress testing utility for GPU's
  8. New Group Calls For Boycotting Systemd