From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: libstdc++ Date: Thu, 16 May 2019 11:11:37 +0200 Message-ID: <878sv6ahme.fsf@elephly.net> References: <87ftphfd6s.fsf@gmail.com> <87sgtfpfnf.fsf@gnu.org> <87imubrtnx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRcTv-0002D6-Mw for help-guix@gnu.org; Fri, 17 May 2019 09:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRcTu-0005u9-G0 for help-guix@gnu.org; Fri, 17 May 2019 09:01:03 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRcTs-0005k5-2y for help-guix@gnu.org; Fri, 17 May 2019 09:01:02 -0400 In-reply-to: <87imubrtnx.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "Boris A. Dekshteyn" Cc: help-guix@gnu.org Boris A. Dekshteyn writes: >> It=E2=80=99s still there, but the =E2=80=98gcc=E2=80=99 package has been= =E2=80=9Chidden=E2=80=9D recently, >> meaning that you cannot refer to it by name from the command line. > > But i can :) > ~guix environment --ad-hoc -e '(list (@@ (gnu packages gcc) gcc-9) "lib")= '~ That=E2=80=99s not the *package* name; this is the *variable* name. >> The reason is that in general you=E2=80=99ll want =E2=80=98gcc-toolchain= =E2=80=99, not =E2=80=98gcc=E2=80=99. >> =E2=80=98gcc-toolchain:lib=E2=80=99 contains libstdc++ and co. > > Why not keep both? We decided to hide =E2=80=9Cgcc=E2=80=9D because over the past few years pe= ople would often install it when they wanted GCC =E2=80=94 a reasonable deduction to m= ake. But our =E2=80=9Cgcc=E2=80=9D package on its own does not give you a workin= g GCC =E2=80=93 the =E2=80=9Cgcc-toolchain=E2=80=9D package does. So by hiding the =E2=80=9Cgc= c=E2=80=9D package it is much less likely that someone looking for GCC will end up with a broken package.= =20 --=20 Ricardo