Boris A. Dekshteyn <boris.deksht...@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