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. Add the Ice repositories to your system:
2. Install Ice:
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:
When linking a program you must link with at least the Ice library. A typical link command would look like this:
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: