pavil: how big is your main.cpp file? how much RAM does your computer have? what version of gcc do you have?