From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: gfortran seems to require gcc-toolchain Date: Mon, 18 Nov 2019 11:43:45 +0100 Message-ID: References: <878soomz3q.fsf@devup.no> <871ru9ghpc.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40927) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWeVb-0005iD-CB for help-guix@gnu.org; Mon, 18 Nov 2019 05:43:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWeVa-0001Ju-Bo for help-guix@gnu.org; Mon, 18 Nov 2019 05:43:51 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:58853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWeVZ-0001JR-Te for help-guix@gnu.org; Mon, 18 Nov 2019 05:43:50 -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: Marius Bakke , help-guix@gnu.org Hi Marius, >>> With your patch, I can compile Fortran programs in an environment >>> containing nothing but "gfortran", so I'd say it works! Not quite, in fact. What I had tested successfully is compiling a Fortran file to a .o file. Linking .o files into an executable still fails: /gnu/store/wzia23i6ngqaaz0kd2il7s30758dxvca-profile/bin/ld: cannot find crt1.o: No such file or directory I had to add glibc to my environment to get an executable. So it seems that compiling Fortran programs requires gfortran + binutils + glibc. Cheers, Konrad.