Install Xlc Compiler Aixa

Posted on by admin
  1. XlC.msg.enUS.rte 6.0.0.0 C F C Set Runtime xlC.rte 6.0.0.0 C F C Set Runtime But I don´t find cc to compile. I think that I need to install this packet xlC.C but I'm not sure and I don't find it in aix cds neither in the expansion pack. How can I get c compiler for aix from IBM media?
  2. IBM® XL C/C is a high-performance optimizing compiler designed to use IBM POWER® processors and enable the development of parallel applications that use the multi-core and vector features of these processors.

Download

After this i started googling and found that there is XL C compiler for compiling and running C program on AIX operating system. Also found that there is some evaluation version also available on IBM portal which I can install for limited time(60 Day) and after evaluation time expire,organization need to purchase new license version for XL C.


Abstract

Install xlc compiler aix 7.1

This page contains the Runtime Environment package for use with applications developed using the IBM XL C/C++ for AIX, V12.1 compiler or its predecessors.

Download Description

If you wish to run an application developed using the IBM XL C/C++ for AIX, V12.1 compiler, but do not have the corresponding version of compiler or runtime already installed, then you need to install the Runtime Environment package.

Note: Depending on your application, in addition to the Runtime Environment package, you may also need to install the Utilities package. The Utilities package contains files that may be required by some third-party applications. Only download and install the Utilities package if instructed by your application provider.


The following APARs were fixed in this PTF *:
IV26326 - Memory leak with inline 'new'
IV26399 - Performance problem with XLSMPOPTS binding option
IV26400 - August 2012 XL SMP Runtime
IV26379 - August 2012 Runtime for XL C/C++ for AIX, V12.1
* Some APARs may have been fixed first in another release of this product. In such cases, fixes have been ported to this release and APAR descriptions have been copied from the original APARs.
Latest updates
It is highly recommended to always use the latest PTF level. Click here for the list of latest product updates for IBM XL C/C++ compilers. If required, the GA Runtime (VRMF: 12.1.0.0) can be obtained here.

Prerequisites

Operating system:
- IBM AIX V5.3 TL 5300-06, or later
- Note: To run applications compiled with the IBM XL C/C++ for AIX, V12.1 compiler, or to install vacpp.memdbg.rte and vacpp.memdbg.aix53.rte, IBM AIX V5.3 TL 5300-07, or later, is required.
- IBM AIX V6.1
- IBM AIX V7.1
- IBM PASE for i 6.1 with PTF SI30636, or later
- IBM PASE for i 7.1
Disk space: 50 MB

Installation Instructions

Refer to the README file for installation instructions.

Terms and Conditions
By downloading, installing, copying, accessing or using this software you agree to the terms and conditions outlined in the License Agreement. Please review the License Agreement and License Information documents prior to proceeding with download or installation.

Download Package

The Runtime package, xlc.rte.12.1.0.1.aix53TL7-71.aug2012.ptf.tar.Z, contains the following files:
xlC.adt.include.12.1.0.0*
xlC.adt.include.12.1.0.1
xlC.aix50.rte.12.1.0.0*
xlC.aix50.rte.12.1.0.1
xlC.aix61.rte.12.1.0.0*
xlC.aix61.rte.12.1.0.1
xlC.msg.Ja_JP.rte.12.1.0.0*
xlC.msg.Ja_JP.rte.12.1.0.1
xlC.msg.en_US.rte.12.1.0.0*
xlC.msg.en_US.rte.12.1.0.1
xlC.msg.ja_JP.rte.12.1.0.0*
xlC.msg.ja_JP.rte.12.1.0.1
xlC.rte.12.1.0.0*
xlC.rte.12.1.0.1
xlsmp.aix53.rte.3.1.0.0*
xlsmp.aix53.rte.3.1.0.2
xlsmp.msg.EN_US.rte.3.1.0.0*
xlsmp.msg.EN_US.rte.3.1.0.2
xlsmp.msg.JA_JP.rte.3.1.0.0*
xlsmp.msg.JA_JP.rte.3.1.0.2
xlsmp.msg.Ja_JP.rte.3.1.0.0*
xlsmp.msg.Ja_JP.rte.3.1.0.2
xlsmp.msg.ZH_CN.rte.3.1.0.0*
xlsmp.msg.ZH_CN.rte.3.1.0.2
xlsmp.msg.Zh_CN.rte.3.1.0.0*
xlsmp.msg.Zh_CN.rte.3.1.0.2
xlsmp.msg.en_US.rte.3.1.0.0*
xlsmp.msg.en_US.rte.3.1.0.2
xlsmp.msg.ja_JP.rte.3.1.0.0*
xlsmp.msg.ja_JP.rte.3.1.0.2
xlsmp.msg.zh_CN.rte.3.1.0.0*
xlsmp.msg.zh_CN.rte.3.1.0.2
xlsmp.rte.3.1.0.0*
xlsmp.rte.3.1.0.2
*As of 25/09/2012, the xlc.rte.12.1.0.1.aix53TL7-71.aug2012.ptf.tar.Z download package has been refreshed to include the base level of the Runtime Environment filesets that will be needed if you are migrating from an earlier version of the C++ Runtime.

On
[{'DNLabel':'xlc.rte.12.1.0.1.aix53TL7-71.aug2012.ptf','DNDate':'29 Aug 2012','DNLang':'English','DNSize':'69733030','DNPlat':{'label':'AIX','code':'PF002'},'DNURL':'http://www.ibm.com/support/fixcentral/swg/quickorder?parent=ibm/Rational&product=ibm/Rational/XL+C%2B%2B+Runtime&release=12.1.0.1&platform=AIX&function=fixid&fixids=xlc.rte.12.1.0.01.aix53TL6-71.aug2012.ptf&downloadMethod=http','DNURL_FTP':'ftp://public.dhe.ibm.com/aix/products/ccpp/ptfs/xlc.rte.12.1.0.1.aix53TL7-71.aug2012.ptf.tar.Z','DDURL':null}]

Technical Support

The IBM XL C/C++ for AIX, Runtime Environment is not supported as a stand-alone software product.
If you suspect a problem with the IBM XL C/C++ Runtime Environment component while using it with a third-party application, contact your application provider for support.
Full support (installation, defect support and general questions) for the IBM XL C/C++ Runtime Environment component is available with the software subscription and support agreement for the XL C/C++ Compilers. A suitable test case is required for defect support; click here for details.

[{'Product':{'code':'SSGH3R','label':'XL C/C++ for AIX'},'Business Unit':{'code':'BU011','label':'Systems - zSystems'},'Component':'C/C++ Runtime','Platform':[{'code':'PF002','label':'AIX'}],'Version':'12.1','Edition':'}]

Problems (APARS) fixedProblems (APARS) fixed
IV26326;IV26399;IV26400;IV26379

Document Information

Modified date:
06 December 2018

Question & Answer


Question

Install Xlc Compiler Aix 6.1

Issues with installing xlC compilers on AIX

Answer

Introduction

IBM compilers for AIX are marketed as xlC/C++.
The runtime environment is also xlC/C++.
These are two very different things. The runtime environment is installed with AIX and provides libraries to run C++ applications.
The xlC and xlC/C++ compilers are not provided with the AIX operating system and are purchased separately. Customers can either purchase the xlC compiler, which provides the C compiler, or they can purchase the xlC/C++ compiler, which provides the C and C++ compilers.

Prior to the xlC 13.1 compiler filesets were installed with “vac” in their name, a holdover from when they were marketed as Visual Age compilers. Starting with 13.1 compiler filesets now are installed with xlc and xlC in their names


xlCcmp
xlccmp

Installation Example

This is an example of runtime and compiler filesets installed on a system:


# lslpp -l grep -i xlc
xlC.adt.include 13.1.0.0 COMMITTED C Set ++ Application
xlC.aix61.rte 13.1.3.1 COMMITTED IBM XL C++ Runtime for AIX 6.1
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 13.1.3.1 COMMITTED IBM XL C++ Runtime
xlC.rte 13.1.3.1 COMMITTED IBM XL C++ Runtime for AIX
xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2
xlCcmp.13.1.0 13.1.0.0 COMMITTED XL C++ compiler
xlCcmp.13.1.0.bundle 13.1.0.0 COMMITTED XL C++ media defined bundles
xlCcmp.13.1.0.lib 13.1.0.0 COMMITTED XL C++ libraries
xlCcmp.13.1.0.license 13.1.0.0 COMMITTED XL C++ license files
xlCcmp.13.1.0.ndi 13.1.0.0 COMMITTED XL C++ non-default
xlCcmp.13.1.0.tools 13.1.0.0 COMMITTED XL C++ tools
xlccmp.13.1.0 13.1.0.0 COMMITTED XL C compiler
xlccmp.13.1.0.bundle 13.1.0.0 COMMITTED XL C media defined bundles
xlccmp.13.1.0.lib 13.1.0.0 COMMITTED XL C libraries for AIX 6.1 and
xlccmp.13.1.0.license 13.1.0.0 COMMITTED XL C license files

Install Xlc Compiler Aixa E


xlccmp.13.1.0.ndi 13.1.0.0 COMMITTED XL C non-default installation
Note that the runtime filesets all have 'rte' as part of their name. Please also note that if xlccmp.13.1.0 is not in the lslpp outpout you do not have the C compiler installed and if xlCcmp.13.1.0 is not in the output you do not have the C++ compiler installed.

Installation Directories


The 13.1 compilers install under /opt/IBM and install per version so you can have multiple compilers installed at the same time.
/opt/IBM/xlc/13.1.0/bin
/opt/IBM/xlC/13.1.0/bin
This means you can have the 13.1.2 compiler installed next to the 13.1.0 compiler and only have to use PATH or Makefile variables to point to the correct location.

Compilers prior to 13.1 have a default installation directory of /usr/vac. If customers wanted both a 11.1 and 12.1 compiler on the same system one had to be installed using the NDI (non-default install) process.

Where to Get the Compiler


Some customers mistakenly think they can get the C compilers from the patch update site which links to Fix Central. This site is only meant to download compiler patches. It does not provide a functional compiler. Patches only apply to the version of the compiler that is installed. You cannot patch a 12.1 compiler to 13.1, the 13.1 version needs to be purchased. This is also emphasized in the Updates section below.


Once the compiler has been purchased there are three means for a customer to get it:
- media provided by sales
- from the Passport Advantage website, http://www-01.ibm.com/software/howtobuy/passportadvantage/pao_customers.htm
- ESS download

AIX support cannot provide compiler filesets as this is a sales function, not a support function.

Installation Guides

The installation guide for the respective compiler versions is your best source of information on how to install, de-install, or update the compiler software. They are readily found by searching for “xlC compiler install” on the internet.

Once the compiler has been installed, the customer must either place its location on his PATH variable, update application Makefiles, or type the full path to the version he wants to use.

A simple test to make sure the compiler works is to type
cc -qversion

Install Xlc Compiler Aixa 2

Here is an example program the customer can compile to prove the compiler works.

$ cat hello.c

#include <stdio.h>
int main(void) {
printf(“hello worldn”);
}
cc hello.c (for a basic compile)
./a.out (to run the program)

Updates

Patches for the C/C++ compilers and updates for the C/C++ runtime environment can be obtained from this location:

Note that this will direct you to Fix Central under Rational software to do the actual download. Also note that an update means patching the existing compiler. It does not mean upgrading to a new compiler version, such as from xlC 11.1 to xlC 13.1. That requires purchasing the new compiler version.

Common Issues

1. A common issue after updating AIX is that customers try to use old compilers, that usually have never been patched, on newer versions of AIX. They will get a message stating that there is no configuration file for that version of AIX.

The most likely reason for this is that the newer version of AIX had not been released when the compiler was made available . If the compiler is still under support, as shown in the previous link, then patching it to the most current version will address the problem. For the compiler to work there must by an /etc/vac.cfg file that corresponds to the proper version of AIX, eg

/etc/vac.cfg.61 (for AIX 6.1)
/etc/vac.cfg.71 (for AIX 7.1)

2. Another issue is that the customer upgrades AIX and the compiler that was being used is no longer supported (for example xlC 10.1). The customer purchases and installs xlC 13.1 and still gets an error that the compiler is not supported. A common reason for this is that the customer has his PATH variable pointing to the old compiler or the Makefile being used has a path referencing the old compiler.

3. Customers will sometimes compile on one version of AIX and attempt to run the binary on a different version of AIX. This is supported if the version of AIX on which the program was compiled is older than the version the binary is being run on - for example, you can compile on AIX 6.1 and expect the binary to work on AIX 7.1. However, you cannot expect a binary compiled on AIX 7.2 to work on AIX 7.1, or compiled on AIX 7.1 to work on AIX 6.1. This is because libc.a is dynamically linked into the binary and newer versions of AIX have symbol definitions that do not exist in older versions. See

[{'Product':{'code':'SWG10','label':'AIX'},'Business Unit':{'code':'BU009','label':'Systems - Server'},'Component':'Support information','Platform':[{'code':'PF002','label':'AIX'}],'Version':'Version Independent','Edition':'}]

Document Information

Modified date:
17 June 2018