From my nmon and njmon experience, I would just compile to the latest AIX 7.3 TL and sp or one version back if you don't want to upgrade every time.
- Of course, avoid any new functions and features, such as those delivered in a recent TL.
- A decade ago, the libperfstat library was improved for every TL = a nightmare, if you wanted the newer stats. But now it has been stable for many years, so a single binary covers AIX 7.1, 7.2, and 7.3.
- For the VIOS, I have to create a different binary as the VIOS has extra virtual resource functions. If I include these, the program does not run on "pure" AIX because it detects missing VIOS functions at startup.
Then run a quick test on older AIX releases. If there is a problem, your program will probably fail to start at all due to library mismatches. If it starts up, it will probably work fine.
For njmon The AIX 7.3 binary runs fine on AIX 7.2.
Users will prefer one binary that works on AIX 7.2 and AIX 7.3 - so only have two binaries, if you are forced to.
No need to have a security scanner program for AIX 7.1 or older.
- If the user is running these releases, then they do not care about security at all! :-)
I compile with the latest GCC compiler from the open source toolbox - it saves all that mucking around with licenses.
If you need extreme performance, then the more advanced compilers might help or might not.
I hope this helps, N
------------------------------
Nigel Griffiths - IBM retired
London, UK
@mr_nmon
------------------------------