unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: libstdc++
Date: Thu, 16 May 2019 11:11:37 +0200	[thread overview]
Message-ID: <878sv6ahme.fsf@elephly.net> (raw)
In-Reply-To: <87imubrtnx.fsf@gmail.com>


Boris A. Dekshteyn <boris.dekshteyn@gmail.com> writes:

>> It’s still there, but the ‘gcc’ package has been “hidden” 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’s not the *package* name; this is the *variable* name.

>> The reason is that in general you’ll want ‘gcc-toolchain’, not ‘gcc’.
>> ‘gcc-toolchain:lib’ contains libstdc++ and co.
>
> Why not keep both?

We decided to hide “gcc” because over the past few years people would
often install it when they wanted GCC — a reasonable deduction to make.
But our “gcc” package on its own does not give you a working GCC – the
“gcc-toolchain” package does.  So by hiding the “gcc” package it is much
less likely that someone looking for GCC will end up with a broken package. 

-- 
Ricardo

      reply	other threads:[~2019-05-17 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-14 12:11 libstdc++ Boris A. Dekshteyn
2019-05-15 21:32 ` libstdc++ Ludovic Courtès
2019-05-16  2:59   ` libstdc++ Boris A. Dekshteyn
2019-05-16  9:11     ` Ricardo Wurmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sv6ahme.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=boris.dekshteyn@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).