--- wscript.ini	2010-11-23 21:12:53.000000000 +0100
+++ wscript	2010-11-23 20:26:12.000000000 +0100
@@ -88,6 +88,16 @@
         return dirvalue
 
     conf.check_tool ('compiler_cc')
+    conf.check_tool('gcc', funs='''
+find_gcc
+find_cpp
+find_ar
+gcc_common_flags
+gcc_modifier_darwin
+cc_add_flags
+cc_load_tools
+'''
+)
     conf.check_tool ('osx')
     if option_enabled ('vala'):
         if find_program_impl (conf.env, 'valac'):
