• Home
  • Raw
  • Download

Lines Matching +full:vc +full:- +full:win32

38 NATIVE_WIN64 = (sys.platform == 'win32' and sys.maxsize > 2**32)
40 # Visual C++ is a 32-bit application, so we need to look in
42 # 64-bit Python on Win64
52 # 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
53 # the param to cross-compile on x86 targeting amd64.)
55 'win32' : 'x86',
56 'win-amd64' : 'amd64',
132 self.set_macro("VCInstallDir", self.vsbase + r"\Setup\VC", "productdir")
146 you can try compiling with MingW32, by passing "-c mingw32" to setup.py.""")
175 if i == -1:
179 majorVersion = int(s[:-2]) - 6
225 productdir = Reg.get_value(r"%s\Setup\VC" % vsbase,
236 productdir = os.path.join(toolsdir, os.pardir, os.pardir, "VC")
280 value = value[:-1]
295 raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VERSION)
306 # as it really isn't necessary for this sort of single-compiler class.
340 # multi-init means we would need to check platform same each time...
345 ok_plats = 'win32', 'win-amd64'
347 raise DistutilsPlatformError("--plat-name must be one of %s" %
363 if plat_name == get_platform() or plat_name == 'win32':
364 # native build or cross-compile to win32
367 # cross compile from win32 -> some 64bit
408 self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GS-' ,
410 self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GS-',
422 # -- Worker methods ------------------------------------------------
428 # Copied from ccompiler.py, extended to return .res as 'object'-file
499 # * '-h dir' specifies the directory for the
501 # * '-r dir' specifies the target directory of the
506 # we use the source-directory for the include file and
514 ['-h', h_dir, '-r', rc_dir] + [src])
562 log.debug("skipping %s (up-to-date)", output_filename)
644 # XXX - this is somewhat fragile - if mt.exe fails, distutils
645 # will still consider the DLL up-to-date, but it will not have a
651 out_arg = '-outputresource:%s;%s' % (output_filename, mfid)
653 self.spawn(['mt.exe', '-nologo', '-manifest',
658 log.debug("skipping %s (up-to-date)", output_filename)
664 # (currently at http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx)
713 r"""VC\d{2}\.CRT("|').*?(/>|</assemblyIdentity>)""",
718 # Now see if any other assemblies are referenced - if not, we
735 # -- Miscellaneous methods -----------------------------------------