gcc, flex, ... You should have a look at the "Perfect Setup" tutorials on HowtoForge. They install everything you need.