• 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
105 self.debug_print("Python's GCC status: %s (details: %s)" %
116 self.debug_print(self.compiler_type + ": gcc %s, ld %s, dllwrap %s\n" %
122 # gcc -mdll instead of dllwrap
127 self.linker_dll = "gcc"
138 # Hard-code GCC because that's what this is all about.
140 self.set_executables(compiler='gcc -mcygwin -O -Wall',
141 compiler_so='gcc -mcygwin -mdll -O -Wall',
143 linker_exe='gcc -mcygwin',
150 # (gcc version 2.91.57) -- perhaps something about initialization
153 "Consider upgrading to a newer version of gcc")
160 """Compiles the source by spawning GCC and windres if needed."""
162 # gcc needs '.res' and '.rc' compiled to object files !!!
188 # with executables this only works with gcc/ld as linker
190 (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
219 # dllwrap uses different options than gcc/ld
224 # we use gcc/ld here and can be sure ld is >= 2.9.10
228 # for gcc/ld the def-file is specified as any object files
232 # (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")):
300 'Cygwin gcc cannot be used with --compiler=mingw32')
302 self.set_executables(compiler='gcc -O -Wall',
303 compiler_so='gcc -mdll -O -Wall',
305 linker_exe='gcc',
330 extensions with GCC.
342 the string "GCC" (implying that this Python was built with GCC), or the
351 # if sys.version contains GCC then python was compiled with GCC, and the
353 if "GCC" in sys.version:
354 return CONFIG_H_OK, "sys.version mentions 'GCC'"
395 """ Try to find out the versions of gcc, ld and dllwrap.
399 commands = ['gcc -dumpversion', 'ld -v', 'dllwrap --version']
403 '''Try to determine if the gcc that would be used is from cygwin.'''
404 out_string = check_output(['gcc', '-dumpmachine'])