how to compile them using gcc? thanks