From owner-freebsd-questions@FreeBSD.ORG Mon Dec 31 11:09:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1704C496 for ; Mon, 31 Dec 2012 11:09:47 +0000 (UTC) (envelope-from hskuhra@eumx.net) Received: from eumx.net (eumx.net [91.82.101.43]) by mx1.freebsd.org (Postfix) with ESMTP id BC5688FC13 for ; Mon, 31 Dec 2012 11:09:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eumx.net; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type; s=default; bh=RP88GBoyvxoFvpCSy9kqHK dLIp4=; b=qT9L4uAMznvhwdOdI0Szb5SpJjXPbTK8LP0LFLNl8C54x3Os3MUrK7 wGpvXsnie3U/oWndqDY2uV6vdDMvKGqr7y0kiWRbFZ31R2MssU8ydDPRTEl0euk6 bVYRNmQt/OSrn73M8DEAVnmTSIG+Ph9D8prsyP7xtQXXwjgy7Jy1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eumx.net; h=date:message-id :from:to:cc:subject:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=P8PZkPLv/wWmqVde6IdVWiriCO+oD 6N2XZCsR1PeIWL3wFdmEhVOfVlb0y1W6gb0O3f/8mVAFbSrrc7ADAG0K4ZRMIIyk PDC+ffsZYbDEZyM/Nufiqda0mXLVd4Qqv4ltMrq19plIMkNHXAZg/04paRXzzYX4 wuDYV3GH45zk2c= Date: Mon, 31 Dec 2012 12:09:43 +0100 Message-ID: <87han28olk.wl%hskuhra@eumx.net> From: "Herbert J. Skuhra" To: Marcus Karlsson Subject: Re: Using the new C++11 stack on 9.1 In-Reply-To: <20121231103927.GB5525@acc.umu.se> References: <20121231103927.GB5525@acc.umu.se> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-questions@freebsd.org 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: Mon, 31 Dec 2012 11:09:47 -0000 On Mon, 31 Dec 2012 11:39:27 +0100 Marcus Karlsson wrote: > Hello. > > I was very happy when I received the 9.1 announcement in my mailbox, > especially when I read about the inclusion of the new C++11 stack > including LLVM libc++ and libcxxrt. So I decided to test it on a 9.1 > system: > > clang++ foo.cc -stdlib=libc++ > > However, the compilation fails: > > /usr/bin/ld: cannot find -lc++ > > It's available in the source tree for 9.1, my assumption is that it's > just not installed by default. # echo "WITH_LIBCPLUSPLUS=" >> /etc/src.conf And rebuilding world/clang. -- Herbert