From owner-freebsd-questions@FreeBSD.ORG Sun Apr 14 03:56:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A1949FE for ; Sun, 14 Apr 2013 03:56:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 993B71FB2 for ; Sun, 14 Apr 2013 03:56:22 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail07.adl2.internode.on.net with ESMTP; 14 Apr 2013 13:26:19 +0930 Message-ID: <516A28E1.5060306@ShaneWare.Biz> Date: Sun, 14 Apr 2013 13:26:17 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Jason Lenthe Subject: Re: C++ headers References: <1577003.5UONfdckvH@melon> <51694C7A.2070004@comcast.net> In-Reply-To: <51694C7A.2070004@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Demelier , FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2013 03:56:23 -0000 On 13/04/2013 21:45, Jason Lenthe wrote: >> Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has >> some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 >> features (and missing headers). >> >> Is there any port of c++11 available? > > There sure is. Just get the latest version of gcc or clang from the > ports collection. The new C++11 libs are planned to be part of 10.0 base install You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=yes to your src.conf before building world. Which needs to be built with clang. For more info see https://wiki.freebsd.org/NewC++Stack