Hi Thomas & Damian
Thank you. I'm running Ubuntu 24.04 in an x86_64 system.
I do have dpkg and it said
(lf) john:~/Gcc-build$ dpkg -S libc-header-start.h
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h
So I tried
$ sudo apt install libc6-dev
$ ../Gcc/gcc-14.2.0/configure --prefix=$HOME --enable-multilib
--enable-languages=c,c++,fortran
$ make -j4
but I still got the same error message from make.
John
On Thu, 29 Aug 2024, Thomas Koenig wrote:
Date: Thu, 29 Aug 2024 06:25:23 +0000
From: Thomas Koenig <tkoe...@netcologne.de>
To: John Harper <john.har...@vuw.ac.nz>
Cc: Damian Rouson <damian@archaeologic.codes>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>
Subject: Re: Installing gfortran-14
Resent-Date: Thu, 29 Aug 2024 18:25:38 +1200 (NZST)
Resent-From: <john.har...@vuw.ac.nz>
[You don't often get email from tkoe...@netcologne.de. Learn why this is
important at https://aka.ms/LearnAboutSenderIdentification ]
Hi John,
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No
such file or directory
27 | #include <bits/libc-header-start.h>
I'm not sure what system you are running. On my Ubuntu system,
which is Debian-based, you can search for the package that provides a
file with
$ dpkg -S libc-header-start.h
which, for me, returns libc6-dev. You can then install that with
$ apt install libc6-dev
If your system does not provide dpkg and apt, you'll have to use
whatever tool there is.
Best regards
Thomas
-- John Harper, School of Mathematics and Statistics
Victoria Univ. of Wellington, PO Box 600, Wellington 6140, New Zealand.
e-mail john.har...@vuw.ac.nz