all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* libstdc++
@ 2019-05-14 12:11 Boris A. Dekshteyn
  2019-05-15 21:32 ` libstdc++ Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Boris A. Dekshteyn @ 2019-05-14 12:11 UTC (permalink / raw)
  To: help-guix

What package now contains libstdc++? Previously, it was gcc:lib, but now it is
gone.

-- 
WBR, Boris Dekshteyn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++
  2019-05-14 12:11 libstdc++ Boris A. Dekshteyn
@ 2019-05-15 21:32 ` Ludovic Courtès
  2019-05-16  2:59   ` libstdc++ Boris A. Dekshteyn
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2019-05-15 21:32 UTC (permalink / raw)
  To: Boris A. Dekshteyn; +Cc: help-guix

Hi,

boris.dekshteyn@gmail.com (Boris A. Dekshteyn) skribis:

> What package now contains libstdc++? Previously, it was gcc:lib, but now it is
> gone.

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.

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

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++
  2019-05-15 21:32 ` libstdc++ Ludovic Courtès
@ 2019-05-16  2:59   ` Boris A. Dekshteyn
  2019-05-16  9:11     ` libstdc++ Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Boris A. Dekshteyn @ 2019-05-16  2:59 UTC (permalink / raw)
  To: help-guix

Hi,

Ludovic Courtès <ludo@gnu.org> 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")'~

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

Why not keep both?

Anyway, ~guix environment --ad-hoc gcc-toolchain:lib~ resulting in these:
--8<---------------cut here---------------start------------->8---
guix environment: error: package `gcc-toolchain@9.1.0' lacks output `lib'
--8<---------------cut here---------------end--------------->8---

in: ~guix environment --ad-hoc gcc-toolchain~
libstdc++, as well some other gcc libs not presented too.

-- 
WBR, Boris Dekshteyn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libstdc++
  2019-05-16  2:59   ` libstdc++ Boris A. Dekshteyn
@ 2019-05-16  9:11     ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2019-05-16  9:11 UTC (permalink / raw)
  To: Boris A. Dekshteyn; +Cc: help-guix


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-17 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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     ` libstdc++ Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.