Use plain gcc.

That makes the scripts work under Cygwin.

Review URL: https://chromiumcodereview.appspot.com//9566021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4864 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
antonm@google.com 2012-03-02 10:13:47 +00:00
parent 4533fbe58d
commit cebe958040

View file

@ -411,7 +411,7 @@ class IDLParser(object):
includePaths -- an array of path strings.
"""
# FIXME: Handle gcc not found, or any other processing errors
gcc = '/usr/bin/gcc'
gcc = 'gcc'
cmd = [gcc, '-E', '-P', '-C', '-x', 'c++'];
for define in defines:
cmd.append('-D%s' % define)