[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libstdc++
From: |
Ricardo Wurmus |
Subject: |
Re: libstdc++ |
Date: |
Thu, 16 May 2019 11:11:37 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Boris A. Dekshteyn <address@hidden> 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