From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: collect2: fatal error: cannot find 'ld' Date: Mon, 11 Feb 2019 13:01:38 +0100 Message-ID: <87r2celejh.fsf@elephly.net> References: <87wom9kp1q.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtAHq-0000Mr-3C for help-guix@gnu.org; Mon, 11 Feb 2019 07:02:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtAHp-0003Dm-5t for help-guix@gnu.org; Mon, 11 Feb 2019 07:02:09 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtAHl-0003A5-6C for help-guix@gnu.org; Mon, 11 Feb 2019 07:02:07 -0500 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: zimoun Cc: Help Guix zimoun writes: > Hi Ricardo, > > On Sat, 9 Feb 2019 at 16:21, Ricardo Wurmus wrote: >> >> I=E2=80=99m assuming that you installed the =E2=80=9Cgcc=E2=80=9D packag= e. Don=E2=80=99t do that. >> Install =E2=80=9Cgcc-toolchain=E2=80=9D instead. > > Is it because of the comment in the definition of `make-gcc-toolchain'? > > ;; The main raison d'=C3=AAtre of this "meta-package" is (1) to > conveniently > ;; install everything that we need, and (2) to make sure ld-wrapper comes > ;; before Binutils' ld in the user's profile. > > Even if the section of Manual provides useful information, the (2) > point clearly explains why "what you really want is the > `gcc-toolchain' package." :-) Yes, this is the reason. I still think that we should hide the plain gcc packages on the command line. -- Ricardo