gcc version of c sample