I tried to build hello word
#include <stdio.h>
int main(void)
{
printf("test\n");
return 0;
}
and it fails.
You did not show the error message, nor the _exact_ command which
generated it. Re-run with "gcc -v" so that we can see.
It seems to me that I have something really wrong with C/C++
toolchain.
So, verify that all the files are present and correct:
rpm --verify $(rpm -qa | grep gcc)
rpm --verify $(rpm -qf /lib*/ld*)
--