-
Notifications
You must be signed in to change notification settings - Fork 77
Configurations
Version | Compilers | Status | Tests |
---|---|---|---|
7.1 (PPC64be) | GCC 4.6.3 (PPC32, PPC64) | Compiled | Passed |
AIX is a UNIX-like proprietary IBM's operating system. Usually you can get it only with the hardware from IBM.
Use LIBPATH
variable if LD_LIBRARY_PATH
is not working (could happen on AIX prior 5.3).
By default GCC compiles PPC32 binaries so you should explicitly pass -maix64
flag to compiler to produce PPC64 binaries. If you are building a static library you should also pass -X64
option to the AIX native linker, but for the some reasons CMake puts CMAKE_STATIC_LINKER_FLAGS
(introduced in 2.8.10) variable in wrong order (it should be passed before cr
parameters). See this answer to make it work properly.
More information about compiling programs with GCC on AIX can be found in this article. Also lot of useful information regarding AIX development is presented in the free book "Developing and Porting C and C++ Application on AIX".