compile c code work in progress