Hi
@cPRex
Since this morning I haven't been idle, I tried to update and it seems to be a success
To start, I remove what I installed by mistake:
yum remove devtoolset-9-*
Then I :
949 2022-03-14 12:17:50 wget https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.gz
950 2022-03-14 12:20:03 tar -xvf gcc-9.2.0.tar.gz
951 2022-03-14 12:20:20 cd gcc-9.2.0
952 2022-03-14 12:20:27 ./configure
953 2022-03-14 12:21:51 sudo yum install glibc-devel.i686
954 2022-03-14 12:21:59 sudo yum install libgcc.i686
955 2022-03-14 12:22:15 ./configure
956 2022-03-14 12:22:39 gcc -v
957 2022-03-14 12:22:46 make
the make is very slow, you have to wait about 1h30
958 2022-03-14 14:33:50 history
959 2022-03-14 14:33:55 gcc --version
The version was still the same, I rebooted the server and then it's ok
[16:20:57] [email protected] [~]# gcc --version
gcc (GCC) 9.2.0
Copyright © 2019 Free Software Foundation, Inc.
Ce logiciel est un logiciel libre; voir les sources pour les conditions de copie. Il n'y a
AUCUNE GARANTIE, pas même pour la COMMERCIALISATION ni L'ADÉQUATION À UNE TÂCHE PARTICULIÈRE.
[16:23:52] [email protected] [~]#
[16:23:52] [email protected] [~]# gcc -v
Utilisation des specs internes.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
Cible : x86_64-pc-linux-gnu
Configuré avec: ./configure
Modèle de thread: posix
gcc version 9.2.0 (GCC)
[16:25:22] [email protected] [~]#
That's how it is for those who don't know, or for me who needs to read the tutorial again, I'll come back here and read if I need to.
I hope it will go well for the future and that it will work.
[Edit]
I replaced the ./configure and make with:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-plugin --enable-initfini-array --disable-libgcj --with-system-zlib
make -j 8
Greetings