While previous packages where called vac, the latest version 13.1.3 of the C compiler name is xlccmp
Example of code
[root@aix1]/root# cat hello.c
#include <stdio.h> main() { for (;;) { printf ("Hello World!\n"); } }
Test compile :
[root@aix1]/root# /opt/IBM/xlc/13.1.3/bin/cc hello.c -o toto -q64
Then test the result, press CTRL+C to stop:
[root@aix1]/root# ./toto Hello World! Hello World! Hello World! Hello World! Hello World! ....