To test the product installation and the critical search paths, try building, compiling, and running a couple of simple programs.
For example:
[hello.c]
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
return 0;
}
[hello.cpp]
#include <iostream>
int main()
{
std::cout << "Hello World!\n" << std::endl;
return 0;
}
xlc hello.c -o hello
xlc++ hello.cpp -o hello
./hello
The expected result is that "Hello World!" is displayed on the screen.
echo $?
The result is zero.