On 8/28/24 8:33 PM, John Harper wrote:
Hi Thomas
Thank you! I got part of the way there after discovering that
download-prerequisites had to be download_prerequisites, but make -j12
had a fatal error. What I did was
$ cd
% mkdir Gcc
% cd ~/Gcc
$ tar xvjf ../Downloads/gmp-6.2.1.tar.bz2
$ tar -zxvf ../Downloads/mpc-1.2.1.tar.gz
$ tar xvjf ../Downloads/mpfr-4.1.0.tar.bz2
$ tar -x -f ../Downloads/gcc-14.2.0.tar
$ cd gcc-14.2.0
$ contrib/download_prerequisites $ cd
$ mkdir Gcc-build
$ cd Gcc-build
$ ../Gcc/gcc-14.2.0/configure --prefix=$HOME --enable-multilib
--enable-languages=c,c++,fortran
$ make -j12
After several minutes of checking and compilation, that ended with
In file included from
../../../../Gcc/gcc-14.2.0/libgcc/../gcc/tsystem.h:95,
from ../../../../Gcc/gcc-14.2.0/libgcc/libgcov.h:42,
from
../../../../Gcc/gcc-14.2.0/libgcc/libgcov-merge.c:26:
/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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Hi John,
You may need to install a devel library package. However, missing a
dependency should not get passed the configure step.
This leads me to guess use a lower -j value. I would try with -j4. I
say this only because I have seen make get ahead of itself and error out.
Regards,
Jerry