Subject: Re: bug#41038: gcc creates binaries that don't find their shared libraries

From: zimoun <[email-masked]>
Date: Mon, 4 May 2020 11:06:35 +0200

Dear Ludo and Bruno,

On Mon, 4 May 2020 at 01:10, Bruno Haible <[email-masked]> wrote:

> The question "What packages do I need to do normal C development?" should
> really be documented.
>
> How about a doc section - at the beginning of the chapter
> https://guix.gnu.org/manual/en/html_node/Development.html - that says:
>
>   Packages needed for C development
>   =================================
>
>   For C development, you will typically need the packages
>     make gcc-toolchain gdb
>
>   Do NOT install glibc and binutils explicitly, as they would shadow
>   the 'ld' wrapper that is necessary for proper operation of GCC.

Does it make sense to provide example/sample of manifests for
developing in the main languages?
And add advices in the manual? For example:

   guix package -m /etc/guix/minimal-opinionated-tools-for-C.scm
   guix package -m /etc/guix/minimal-opinionated-tools-for-Python.scm

Well, I do not know what the correct location for such "examples"
files. Folder /etc/? Other?
And with a better name than "minimal-opinionated-tools-for-".

WDYT?

All the best,
simon