Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 12:09:43 +0100
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        Marcus Karlsson <mk@acc.umu.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using the new C++11 stack on 9.1
Message-ID:  <87han28olk.wl%hskuhra@eumx.net>
In-Reply-To: <20121231103927.GB5525@acc.umu.se>
References:  <20121231103927.GB5525@acc.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Dec 2012 11:39:27 +0100
Marcus Karlsson <mk@acc.umu.se> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87han28olk.wl%hskuhra>