When writing C/C++ for multi-platform student assignments using gcc, we always used the args: -ansi -Wall -pedantic Literally "use the ANSI standard" "turn all warnings on" and "be pedantic about warnings." This, of course, won't help with libraries not being found. cheers stuart