unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: Marius Bakke <mbakke@fastmail.com>, help-guix@gnu.org
Subject: Re: gfortran seems to require gcc-toolchain
Date: Mon, 18 Nov 2019 11:43:45 +0100	[thread overview]
Message-ID: <m1sgmlqxb2.fsf@fastmail.net> (raw)
In-Reply-To: <m1r228rz19.fsf@ordinateur-de-catherine--konrad.home>

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.

      parent reply	other threads:[~2019-11-18 10:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08 16:09 gfortran seems to require gcc-toolchain Konrad Hinsen
2019-11-09 23:03 ` Marius Bakke
2019-11-10  7:14   ` Efraim Flashner
2019-11-10 19:50     ` Marius Bakke
2019-11-11 18:08   ` Konrad Hinsen
2019-11-15 17:41     ` Marius Bakke
2019-11-16  8:44       ` Konrad Hinsen
2019-11-18 10:40         ` zimoun
2019-11-18 12:09           ` Konrad Hinsen
2019-11-19 21:26             ` Marius Bakke
2019-11-19 21:28               ` brettg
2019-11-20  4:37                 ` John Soo
2019-11-20  5:48                   ` ML on Guix (Was: Re: gfortran seems to require gcc-toolchain) brettg
2019-11-30 14:52             ` gfortran seems to require gcc-toolchain Konrad Hinsen
2019-11-18 10:43         ` Konrad Hinsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1sgmlqxb2.fsf@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=help-guix@gnu.org \
    --cc=mbakke@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).