Hello,
I need to compile a C++ application on AIX7.3. This application was previously built on AIX 6.1.0.0 by using autotools and xlC compiler.
I moved all sources to AIX7.3 and tried to launch the chain ./configure, make. The configure script checked for xlC_r, ibm-clang++_r, g++ and found g++ was the compiler to use (ibm-clang++_r is installed but not selected by configure).
I ran make and then got a fatal error #include <bits/c++config.h> not found, effectively it does exist on my AIX.
So, autotools being quite old ( is CMake the solution ?) I tried to install CMake on AIX7.3 but only found packages for 7.2, so i downloaded code sources from official CMake 3.26.4 website and followed the build guideline with ./boostrap make. I got the same issue. g++ is the selected compiler and it complains <bis/c++config.h> is not found.
It seems i have an issue with my gcc/g++ installations (missing <bits/c++config.h> ?
Why ibm-clang++_r is not selected.
Is CMake compatible with AIX7.3 at this time? if no, will it be ?
It will be nice if you could give me advice
Thanks
best regards
------------------------------
Laurent GUEDJ
------------------------------
#AIXOpenSource