Using gcc command directly for building example