Patel, Kiran D. (GSFC-699.0)[GLOBAL SCIENCE & TECHNOLOGY INC] via
gcc-help kirjoitti 12.10.2019 klo 16.14:
I tried to fix the compilation issue with gcc3.4.6.
Why you want gcc-3.4.6 to be used with the CentOS 7 native C libraries ?
(Some quite new glibc there) The produced native toolchain
would produce executables which as default would only work on CentOS 7
and newer than that releases. Not on CentOS 6, 5, 4, 3, 2, 1,
on old Fedora releases or RedHat releases...
One sane goal would be to get a toolchain on CentOS 7 which produces
executables for some older CentOS (or something else) release
which had gcc-3.4.6 as its original native GCC or as a self-made updated
native GCC. That using some old glibc as its native
C library. This goal meaning producing a crosstoolchain to the old
Linux release (building binutils and GCC to use the old
glibc as prebuilt in a $sysroot)