This isnt a GCC question, you may want to invest a few weeks into learning how to develop on unix style systems using make and C++. There are plenty of resources on line and books. It seems like your trying to jump into the deep end without knowing why. http://www.eng.hawaii.edu/Tutor/Make/ This a good introduction to make. --Phil