Lines Matching full:gcc
5 the Mingw32CCompiler class which handles the mingw32 port of GCC (same as
28 # * cygwin gcc 2.91.57/ld 2.9.4/dllwrap 0.2.4 works
31 # * mingw32 gcc 2.95.2/ld 2.9.4/dllwrap 0.2.4 works
33 # * cygwin gcc 2.95.2/ld 2.10.90/dllwrap 2.10.90 works now
36 # - using gcc -mdll instead dllwrap doesn't work without -static because
43 # * cygwin gcc 3.2/ld 2.13.90 works
45 # * mingw gcc 3.2/ld 2.13 works
97 self.debug_print("Python's GCC status: %s (details: %s)" %
108 self.debug_print(self.compiler_type + ": gcc %s, ld %s, dllwrap %s\n" %
114 # gcc -mdll instead of dllwrap
119 self.linker_dll = "gcc"
130 # Hard-code GCC because that's what this is all about.
132 self.set_executables(compiler='gcc -mcygwin -O -Wall',
133 compiler_so='gcc -mcygwin -mdll -O -Wall',
135 linker_exe='gcc -mcygwin',
142 # (gcc version 2.91.57) -- perhaps something about initialization
145 "Consider upgrading to a newer version of gcc")
156 # gcc needs '.res' and '.rc' compiled to object files !!!
192 # with executables this only works with gcc/ld as linker
194 (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
223 # dllwrap uses different options than gcc/ld
228 # we use gcc/ld here and can be sure ld is >= 2.9.10
232 # for gcc/ld the def-file is specified as any object files
236 # (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
327 self.set_executables(compiler='gcc%s -O -Wall' % no_cygwin,
328 compiler_so='gcc%s -mdll -O -Wall' % no_cygwin,
330 linker_exe='gcc%s' % no_cygwin,
360 appears amenable to building extensions with GCC. Returns a tuple
371 the string "GCC" (implying that this Python was built with GCC), or the
380 # if sys.version contains GCC then python was compiled with
381 # GCC, and the pyconfig.h file should be OK
382 if string.find(sys.version,"GCC") >= 0:
383 return (CONFIG_H_OK, "sys.version mentions 'GCC'")
411 """ Try to find out the versions of gcc, ld and dllwrap.
418 gcc_exe = find_executable('gcc')
457 '''Try to determine if the gcc that would be used is from cygwin.'''
458 out = os.popen('gcc -dumpmachine', 'r')
462 # Cygwin's gcc sets the os to 'cygwin'