Click below IBM links to read more about XLC

AIX OS levels supported by XL Compilers

Latest updates on supported IBM C and C++ compilers

Important Note:
It’s always advisable to upgrade the respective or latest OS level rather than manually updaing the xlc

Current OS Level

testlab:/ # oslevel -s
7100-03-06-1543
testlab:/ #

Current Fileset Version

testlab:/ # lslpp -l xlC.rte
Fileset Level State Description
—————————————————————————-
Path: /usr/lib/objrepos
xlC.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX
testlab:/ #

testlab:/ # lslpp -l xlC.aix61.rte
Fileset Level State Description
—————————————————————————-
Path: /usr/lib/objrepos
xlC.aix61.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX 6.1
and 7.1
testlab:/ #

Note:- IBM XL C++ Runtime fileset installed by default as a part of OS (TL/SP)

 

Downloaded the latest version from IBM Fix Central and extracted on below path as shown

XL C/C++ for AIX, V13.1.3.3 Fix Pack (December 2016)
http://www-01.ibm.com/support/docview.wss?uid=swg24043204

File Name: 13.1.3.3-IBM-xlCcmp-AIX-FP003.tar.Z

testlab:/xlc # gunzip 13.1.3.3-IBM-xlCcmp-AIX-FP003.tar.Z
testlab:/xlc #

 

testlab:/xlc # tar -xvf 13.1.3.3-IBM-xlCcmp-AIX-FP003.tar
x .toc, 15181 bytes, 30 media blocks.
x xlC.aix61.rte.13.1.3.1.bff, 30386176 bytes, 59348 media blocks.
x xlC.msg.Ja_JP.rte.13.1.3.1.bff, 14336 bytes, 28 media blocks.
x xlC.msg.en_US.rte.13.1.3.1.bff, 13312 bytes, 26 media blocks.
x xlC.msg.ja_JP.rte.13.1.3.1.bff, 14336 bytes, 28 media blocks.
x xlC.rte.13.1.3.1.bff, 4024320 bytes, 7860 media blocks.
x xlCcmp.13.1.3.lib_13.1.3.3.bff, 325632 bytes, 636 media blocks.
x xlCcmp.13.1.3.ndi_13.1.3.3.bff, 134144 bytes, 262 media blocks.
x xlCcmp.13.1.3.tools_13.1.3.3.bff, 197120 bytes, 385 media blocks.
x xlCcmp.13.1.3_13.1.3.3.bff, 23944704 bytes, 46767 media blocks.
x xlccmp.13.1.3.lib_13.1.3.3.bff, 20538880 bytes, 40115 media blocks.
x xlccmp.13.1.3.ndi_13.1.3.3.bff, 130048 bytes, 254 media blocks.
x xlccmp.13.1.3_13.1.3.3.bff, 123310592 bytes, 240841 media blocks.
x xlmass.8.1.3_8.1.3.1.bff, 20941824 bytes, 40902 media blocks.
testlab:/xlc #

testlab:/xlc # ls -ltr
total 437536
-rw-r–r– 1 root system 13312 Aug 18 13:30 xlC.msg.en_US.rte.13.1.3.1.bff
-rw-r–r– 1 root system 30386176 Aug 18 13:30 xlC.aix61.rte.13.1.3.1.bff
-rw-r–r– 1 root system 14336 Aug 18 13:30 xlC.msg.ja_JP.rte.13.1.3.1.bff
-rw-r–r– 1 root system 14336 Aug 18 13:30 xlC.msg.Ja_JP.rte.13.1.3.1.bff
-rw-r–r– 1 root system 4024320 Aug 18 13:30 xlC.rte.13.1.3.1.bff
-rw-r–r– 1 root system 20941824 Aug 19 21:10 xlmass.8.1.3_8.1.3.1.bff
-rw-rw-r– 1 root system 130048 Nov 04 15:37 xlccmp.13.1.3.ndi_13.1.3.3.bff
-rw-rw-r– 1 root system 20538880 Nov 04 15:37 xlccmp.13.1.3.lib_13.1.3.3.bff
-rw-rw-r– 1 root system 123310592 Nov 04 15:37 xlccmp.13.1.3_13.1.3.3.bff
-rw-rw-r– 1 root system 23944704 Nov 04 21:43 xlCcmp.13.1.3_13.1.3.3.bff
-rw-rw-r– 1 root system 197120 Nov 04 21:43 xlCcmp.13.1.3.tools_13.1.3.3.bff
-rw-rw-r– 1 root system 134144 Nov 04 21:43 xlCcmp.13.1.3.ndi_13.1.3.3.bff
-rw-rw-r– 1 root system 325632 Nov 04 21:43 xlCcmp.13.1.3.lib_13.1.3.3.bff
-rw-r–r– 1 root system 15181 Nov 22 20:27 .toc
testlab:/xlc #
testlab:/xlc # installp -l -d .
Fileset Name Level I/U Q Content
====================================================================
xlC.aix61.rte 13.1.3.1 I N usr
# IBM XL C++ Runtime for AIX 6.1 and later

xlC.msg.Ja_JP.rte 13.1.3.1 I N usr
# IBM XL C++ Runtime Messages–Japanese

xlC.msg.en_US.rte 13.1.3.1 I N usr
# IBM XL C++ Runtime Messages–U.S. English

xlC.msg.ja_JP.rte 13.1.3.1 I N usr
# IBM XL C++ Runtime Messages–Japanese IBM-eucJP

xlC.rte 13.1.3.1 I N usr
# IBM XL C++ Runtime for AIX

xlCcmp.13.1.3 13.1.3.3 S N usr
# XL C++ compiler

xlCcmp.13.1.3.lib 13.1.3.3 S N usr
# XL C++ libraries

xlCcmp.13.1.3.ndi 13.1.3.3 S N usr (R)
# XL C++ non-default installation script

xlCcmp.13.1.3.tools 13.1.3.3 S N usr
# XL C++ tools

xlccmp.13.1.3 13.1.3.3 S N usr
# XL C compiler

xlccmp.13.1.3.lib 13.1.3.3 S N usr
# XL C libraries

xlccmp.13.1.3.ndi 13.1.3.3 S N usr (R)
# XL C non-default installation script

xlmass.8.1.3 8.1.3.1 S N usr
# IBM Mathematical Acceleration Subsystem (MASS)

testlab:/xlc #

Note:- No rebooted required because we are going to install only the selected fileset (In green) out of above
Preview Test Result

smitty installp -> Install and Update from ALL Available Software

INPUT device / directory for software [<Path where you kept xlc package]

SOFTWARE to install [] -> Press ESC+4  -> select the package and confirmed by pressing F7

Rest of the option are as usual you select for TL/SP upgrade

 

COMMAND STATUS

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

[TOP]
geninstall -I “agpqwXE -V2 -J” -Z -p -d . -f File 2>&1

File:
I:xlC.aix61.rte 13.1.3.1
I:xlC.msg.en_US.rte 13.1.3.1
I:xlC.rte 13.1.3.1
*******************************************************************************
installp PREVIEW: installation will not actually occur.
*******************************************************************************

+—————————————————————————–+
Pre-installation Verification…
+—————————————————————————–+
Verifying selections…done
Verifying requisites…done
Results…

SUCCESSES
———
Filesets listed in this section passed pre-installation verification
and will be installed.
— Filesets are listed in the order in which they will be installed.
— The reason for installing each fileset is indicated with a keyword
in parentheses and explained by a “Success Key” following this list.

xlC.aix61.rte 13.1.3.1 (Selected)
IBM XL C++ Runtime for AIX 6.1 and later

xlC.rte 13.1.3.1 (Selected)
IBM XL C++ Runtime for AIX

xlC.msg.en_US.rte 13.1.3.1 (Selected)
[MORE…50]