From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: clang++ and libc++ Date: Fri, 20 Oct 2017 13:43:54 +0200 Message-ID: <878tg6vybp.fsf@gnu.org> References: <20171020102633.GA32170@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5Vih-0007B9-AO for guix-devel@gnu.org; Fri, 20 Oct 2017 07:44:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5ViY-0006I3-29 for guix-devel@gnu.org; Fri, 20 Oct 2017 07:44:02 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:51097) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5ViX-0006HX-SB for guix-devel@gnu.org; Fri, 20 Oct 2017 07:43:57 -0400 In-Reply-To: <20171020102633.GA32170@thebird.nl> (Pjotr Prins's message of "Fri, 20 Oct 2017 12:26:33 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel@gnu.org Hi Pjotr, Pjotr Prins skribis: > I need to compile a toolset with clang++ and C++ libs for testing > purposes (I am developing with g++). Now the thing is that C++ libs > and include files don't come with the clang package even though > clang++ works. We don=E2=80=99t have libc++ yet, but you can have clang++ link against GNU=C2=A0libstdc++. To do that you need to add both =E2=80=98clang=E2=80=99 and =E2=80=98libstd= c++=E2=80=99 as inputs to your package. Does that work for you? HTH, Ludo=E2=80=99.