On 27/02/2010 20:48, Vincent Richomme wrote: >> Add '-v' to see how gcc is using relative paths to look for cc1.exe (and >> presumably failing). > $ gcc -v test.c > cc1 -quiet -v -iprefix Hmm, that means it has no idea at all where to find cc1. So take a look at what "gcc -print-search-dirs" says for "programs:". cheers, DaveK