Hi KJ,
The best way to install packages from AIX toolbox is via dnf because it resolves dependencies and install packages for you.
For gcc we are providing two packages one that provides actual libraries and binaries and other that provides symblinks to make it default.
This is done to keep multiple versions of gcc on system. More information about this can be found on the following blog.
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9Currently gcc-8 is default for AIX 7.1 and 7.2 and gcc-10 for AIX 7.3. Hence there are two packages and its dependencies that you will have to install.
1. gcc-8-1 (Provides symblink to create gcc and libgcc in default path)
2. gcc8-8.3.0-6 (provides actual libraries and binaries)
I hope this helps.
------------------------------
SANKET RATHI
------------------------------