On Sat, Dec 04, 2021 at 11:16:28AM +0100, Thomas Koenig wrote:
>
> On 04.12.21 07:39, Michael Meissner via Fortran wrote:
> > I have loaded Advance Toolchain 15.0 on the system. It is located in
> > /opt/at15.0. AT 15 provides a GCC 11.2 compiler and GLIBC 2.34.
>
> I tried bootstrapping (from a separate account I set up on the
> machine to make sure I don't mess up anybody else's stuff)
> with the options
>
> ../gcc/configure \
> --prefix=$HOME \
> --enable-languages=c,c++,fortran \
> --disable-plugin \
> --enable-checking \
> --enable-stage1-checking \
> --enable-gnu-indirect-function \
> --enable-maintainer-mode \
> --disable-libgomp \
> --enable-decimal-float \
> --enable-secureplt \
> --enable-threads=posix \
> --enable-__cxa_atexit \
> --with-cpu=power9 \
> --with-long-double-128 \
> --with-as=/opt/at15.0/bin/as \
> --with-ld=/opt/at15.0/bin/ld \
> --with-gnu-as=/opt/at15.0/bin/as \
> --with-gnu-ld=/opt/at15.0/bin/ld \
> --with-advance-toolchain=at15.0 \
> --with-system-zlib \
> --with-native-system-header-dir=/opt/at15.0/include \
> --without-ppl \
> --without-cloog \
> --without-isl
>
> but it failed with
>
> ../../gcc/gcc/lto-compress.c:34:10: fatal error: zlib.h: No such file or
> directory
>
> Any idea how to fix this?
If zlib devel isn't installed, drop --with-system-zlib option
or use --without-system-zlib.
You've asked in another mail how to configure gcc to default to
-mabi=ieeelongdouble, that is
--with-long-double-format=ieee
Jakub