• Home
  • Raw
  • Download

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
103 self.debug_print("Python's GCC status: %s (details: %s)" %
114 self.debug_print(self.compiler_type + ": gcc %s, ld %s, dllwrap %s\n" %
120 # gcc -mdll instead of dllwrap
125 self.linker_dll = "gcc"
136 # Hard-code GCC because that's what this is all about.
138 self.set_executables(compiler='gcc -mcygwin -O -Wall',
139 compiler_so='gcc -mcygwin -mdll -O -Wall',
141 linker_exe='gcc -mcygwin',
148 # (gcc version 2.91.57) -- perhaps something about initialization
151 "Consider upgrading to a newer version of gcc")
158 """Compiles the source by spawning GCC and windres if needed."""
160 # gcc needs '.res' and '.rc' compiled to object files !!!
186 # with executables this only works with gcc/ld as linker
188 (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
217 # dllwrap uses different options than gcc/ld
222 # we use gcc/ld here and can be sure ld is >= 2.9.10
226 # for gcc/ld the def-file is specified as any object files
230 # (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
298 'Cygwin gcc cannot be used with --compiler=mingw32')
300 self.set_executables(compiler='gcc -O -Wall',
301 compiler_so='gcc -mdll -O -Wall',
303 linker_exe='gcc',
328 extensions with GCC.
340 the string "GCC" (implying that this Python was built with GCC), or the
349 # if sys.version contains GCC then python was compiled with GCC, and the
351 if "GCC" in sys.version:
352 return CONFIG_H_OK, "sys.version mentions 'GCC'"
393 """ Try to find out the versions of gcc, ld and dllwrap.
397 commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version']
401 '''Try to determine if the gcc that would be used is from cygwin.'''
402 out_string = check_output(['gcc', '-dumpmachine'])