Originally posted by: Nitish Mishra
Hi All !
Going forward, the default GCC version on AIX platform will be GCC-8.3.0. All the other packages which will be made available to the toolbox will be compiled by GCC-8.3.0 binaries and libraries.
We have rebuilt GCC version 6.3.0 and 7.2.0 as gcc6 and gcc7 rpm name which are different from gcc. These gcc6, gcc7 and their sub rpms/libraries can now be installed simultaneously with existing latest gcc (8.3.0).
Though the GCC rpm will be installed at our default paths (/opt/freeware/bin, /opt/freeware/lib etc), the new GCC6 and GCC7 rpms (and obviously the sub rpms and libraries) will be installed at new paths, /opt/freeware/gcc6/ and /opt/freeware/gcc7. Thus, all the three rpms will be separate rpms and can be installed simultaneously and will be treated as different rpm package both by rpm and yum.
The binaries and libraries names of gcc6 and gcc7 will be same as default GCC, the difference is only in the installation path. For ex, the command gcc -v (version) output will depend on the PATH variable that which path is exported.
If one wants to use gcc default 8.3.0 version, export the environment variables as:
export PATH=/opt/freeware/bin:$PATH
For gcc6-6.3.0 export the variables as:
export PATH=/opt/freeware/gcc6/bin:$PATH
For gcc7-7.2.0, export the variable as:
export PATH=/opt/freeware/gcc7/bin:$PATH
For any issue, please contact us.
Thanks and Regards,
Nitish K Mishra
#AIX-Open-Source-Software#AIXOpenSource