Okay, so as of now we do not have a meta package for gcc-12.
GCC-13 will be made default in the current quarter, which is currently in the testing phase. When that is released you will get a meta package for GCC13.
Original Message:
Sent: Wed June 04, 2025 05:45 AM
From: Kok Jien Loh
Subject: gcc12 installation problem
I am not referring to gcc12 itself, but gcc-12-3.rpm. the default metapackage
similar to gcc-10-2.rpm, I am referring to gcc-12-3.rpm so it links gcc and libgccxxxx to gcc12 library. from this AIX GCC multi version support improvements, I understand gcc-XX.rpm is a meta package for default gcc.
------------------------------
Kok Jien Loh
Original Message:
Sent: Wed June 04, 2025 05:08 AM
From: Aditya Kamath
Subject: gcc12 installation problem
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc12/
Check here. If you are in 7.3 go to ppc-7.3
------------------------------
Aditya Kamath
Original Message:
Sent: Wed June 04, 2025 04:08 AM
From: Kok Jien Loh
Subject: gcc12 installation problem
We are in the airgap environment and currently no dnf and without internet connection. and I don't see any gcc-12xx.rpm in the website? do you mean it does exists and only dnf can get it? can you advise any alternative way?

------------------------------
Kok Jien Loh
Original Message:
Sent: Wed June 04, 2025 03:42 AM
From: Aditya Kamath
Subject: gcc12 installation problem
To get gcc12
Kindly do dnf install gcc12*
>if I were to use gcc-12 by running gcc, I have to set CC=gcc12? this will allow me to run gcc for gcc12? or cc for gcc12?
You need to set export CC=gcc-12, yes.
------------------------------
Aditya Kamath
Original Message:
Sent: Wed June 04, 2025 02:23 AM
From: Kok Jien Loh
Subject: gcc12 installation problem
(1) can I confirm there is no gcc-12xxxx now available for download? or is there some where I can get it?
(2) if I were to use gcc-12 by running gcc, I have to set CC=gcc12? this will allow me to run gcc for gcc12? or cc for gcc12?
------------------------------
Kok Jien Loh
Original Message:
Sent: Wed June 04, 2025 02:06 AM
From: Aditya Kamath
Subject: gcc12 installation problem
If you just use gcc-12 binary instead of gcc if gcc's default version is 10, it should be enough.
------------------------------
Aditya Kamath
Original Message:
Sent: Wed June 04, 2025 01:45 AM
From: Aditya Kamath
Subject: gcc12 installation problem
Hi Kok,
Set
export LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix7.3.0.0/12/pthread:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib/
Then use gcc12 --version, and/or export CC=gcc12
You can use gcc12 binary. And since libpath is set to gcc12 libraries, this will make sure you use gcc12 libraries.
I am using OS level 7.3. If you are in 7.2, then you might need to use powerpc-ibm-aix7.2.0.0 in the path.
------------------------------
Aditya Kamath
Original Message:
Sent: Tue June 03, 2025 10:24 PM
From: Kok Jien Loh
Subject: gcc12 installation problem
Hi there,
I have installed gcc12 in the AIX 7.2 environment. However, we notice the the /opt/freeware/lib/libatomic.a etc library still link to gcc10.
currently we have gcc8, gcc10 and gcc12 and gcc-10.2
How do we ensure gcc12 is being used? and the library link updated?
thank you
Best regards
Loh
------------------------------
Kok Jien Loh
------------------------------