From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLqnH-0004Jy-GN for guix-patches@gnu.org; Fri, 16 Jun 2017 08:56:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLqnC-00078a-Iu for guix-patches@gnu.org; Fri, 16 Jun 2017 08:56:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLqnC-00078U-F4 for guix-patches@gnu.org; Fri, 16 Jun 2017 08:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLqnC-0006Y9-5d for guix-patches@gnu.org; Fri, 16 Jun 2017 08:56:02 -0400 Subject: [bug#27389] [PATCH] doc: Explain how to use the GCC toolchain. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170616075635.19382-1-rekado@elephly.net> Date: Fri, 16 Jun 2017 14:55:07 +0200 In-Reply-To: <20170616075635.19382-1-rekado@elephly.net> (Ricardo Wurmus's message of "Fri, 16 Jun 2017 09:56:35 +0200") Message-ID: <87injwf5xw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 27389@debbugs.gnu.org Ricardo Wurmus skribis: > * doc/guix.texi (Application Setup): Add subsection "The GCC toolchain". [...] > +Guix offers individual compiler packages such as @code{gcc} but if you > +are in need of a complete toolchain for compiling and linking source > +code what you really want is the @code{gcc-toolchain} package. This > +package provides a complete GCC toolchain for C/C++ development, > +including GCC itself, the GNU C library (headers and binaries, plus s/library/Library/ > +debugging symbols in the 'debug' output), Binutils, and a linker s/'debug'/@code{debug}/ > +The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches > +passed to the linker, add corresponding @code{-rpath} arguments, and > +invoke the actual linker with this new set of arguments. By default the > +linker wrapper refuses to link to libraries outside the Guix store to s/Guix store/store/ > +ensure purity. This can be annoying when using the toolchain to link s/purity/``purity''/ I=E2=80=99m nitpicking but I think it=E2=80=99s great to add this section. = Thank you! Ludo=E2=80=99.