Using the AIX Binary Distribution
This page provides important information for users of the Ice binary distribution for AIX. You can obtain this distribution at the ZeroC web site.
On this page:
Overview of the Ice Binary Distribution for AIX
ZeroC provides the following RPMs packages for AIX:
|Meta package that installs all development packages|
|Meta package that installs all run-time packages, servers and utilities|
|IceBox server for C++|
|Slice compilers, such as |
|The yum repo file for Ice|
|Utilities necessary for administering Ice services|
|C++ header files|
|C++ run-time libraries|
ZeroC also supplies RPMs for the following third-party packages:
|expat-static-devel||A stream oriented XML parser library|
Admin tools for LMDB (statically linked)
Header file and static library for LMDB
Static library for the MCPP C++ preprocessor
Installing the AIX Binary Distribution
Follow the instructions below to install Ice on AIX:
1. Install yum on your AIX system if no already installed.
You can for example follow the instructions from this IBM blog post.
2. Add the Ice repositories to your system:
sudo yum install https://zeroc.com/download/ice/3.7/aix7.2/ice-repo-3.7.aix7.2.noarch.rpm
3. Install Ice:
sudo yum install ice-all-runtime ice-all-devel
Refer to the package summary above if you would like to install fewer packages.
The Ice RPM packages for AIX were all built with IBM XL C/C++ and have no dependency on the GCC runtime.
Setting Up your AIX Environment to Use Ice
After installing Ice, read the relevant language-specific sections below to learn how to configure your environment and start programming with Ice.
Ice RPM packages are installed in
/opt/freeware like other RPM packages on AIX. The installation creates symbol links in
/usr/bin for programs like
icegridregistry. However, the installation does not create symbolic links in
/usr for Ice headers files and libraries.
When compiling and linking Ice for C++ programs, you must use
xlC_r and enable RTTI. A typical compile command would look like this:
xlC_r -q64 -qrtti -qstaticinline -I/opt/freeware/include -c myprogram.cpp
When linking a program you must link with at least the Ice library. A typical link command would look like this:
xlC_r -q64 -qrtti -qstaticinline -o myprogram myprogram.o -L/opt/freeware/lib -lIce
Additional libraries are necessary if you are using an Ice service such as IceGrid or Glacier2.
Using the Sample Programs on AIX
Sample programs for all programming languages are available in a separate ice-demos GitHub repository. Simply clone this repository:
git clone -b 3.7 https://github.com/zeroc-ice/ice-demos.git cd ice-demos