Platform Notes - AIX

Platform Notes - AIX

Qt has been built on a range of versions from 4.1 upwards, using both xlC and gcc.

xlC on AIX

If Qt built correctly, but all symbols are reported to be missing when you link an application, your makeC++SharedLib script might be out of date. Make sure you have the latest version from the IBM website.

gcc on AIX

We have tested Qt 3 successfully with the binary distribution of gcc from Aixpdslib. Other binary distributions of gcc for AIX may be available, but we did not have much success with them - mostly because of compile- or link-time errors.

gcc on AIX

Some versions of gcc may fail to link Qt with a "TOC overflow" message. Fix this by upgrading to the latest maintenance release of the dynamic linker. On AIX this is bos.rte.bind_cmds.4.1.5.3. In Qt 2.x you will also have to add -Wl,-bbigtoc to the SYSCONF_LFLAGS variable in the config file in qt/configs/, and do a new configure and make.

gcc on AIX

Some versions of gcc may fail to build Qt with STL and large-file support enabled, due to a bug in gcc. Fix this by upgrading to the latest maintenance release of the compiler. It is also possible to work around this problem by running configure with either -no-stl or -no-largefile.


Copyright 2008, Trolltech ASA