From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasilii Kolobkov Subject: Re: Issues with Haskell's ghc Date: Tue, 02 Jul 2019 14:50:27 +0200 Message-ID: <87h884vbvw.fsf@orangeshoelaces.net> References: <877e91vfla.fsf@orangeshoelaces.net> <87o92dv3bm.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 ([2001:470:142:3::10]:52120) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiIEw-0006tt-2G for help-guix@gnu.org; Tue, 02 Jul 2019 08:50:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiIEu-0002LC-Cg for help-guix@gnu.org; Tue, 02 Jul 2019 08:50:29 -0400 Received: from orangeshoelaces.net ([71.19.146.160]:33065) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hiIEt-0002IU-JO for help-guix@gnu.org; Tue, 02 Jul 2019 08:50:28 -0400 Received: from orangeshoelaces.net (localhost [127.0.0.1]) by orangeshoelaces.net (OpenSMTPD) with ESMTP id e14341fb for ; Tue, 2 Jul 2019 05:50:03 -0700 (PDT) Received: by orangeshoelaces.net (OpenSMTPD) with ESMTPSA id 25d9a221 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 2 Jul 2019 05:50:02 -0700 (PDT) Received: by refuseclack (Exim) for help-guix@gnu.org; Tue, 02 Jul 2019 14:50:27 +0200 In-Reply-To: <87o92dv3bm.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 01 Jul 2019 23:43:09 +0200") 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: help-guix@gnu.org Ricardo Wurmus writes: >> I've run aground with Haskell's ghc (interpreter works fine) - running >> ghc on a basic hello world program fails. I identified couple issues: >> >> - Include directory for linux headers wasn't passed to gcc >> (`C_INCLUDE_PATH=3D/gnu/... ghc` fixed it) >> - Lib C's crti.o and crt1.o where not found during linking >> (fixed with `LIBRARY_PATH=3D/gnu/... ghc`) > > These two points sound like =E2=80=9Cgcc-toolchain=E2=80=9D should be ins= talled > alongside GHC. Much thanks, Ricardo, missing gcc-toolchain it was! Does anybody know why ghc doesn't have gcc-toolchain among it's dependencies? In the unlikely case of it being an unintended situation, i'd be up for fixing it.