Home | History | Annotate | Download | only in distutils

Lines Matching refs:platform

253         platform).
632 filenames in a platform-specific way (eg. "foo" becomes "libfoo.a"
729 the current platform. The optional arguments can be used to
774 the current platform). Return None if 'lib' wasn't found in any of
887 # Map a sys.platform/os.name ('posix', 'nt') to the default compiler
888 # type for that platform. Keys are interpreted as re match
889 # patterns. Order is important; platform mappings are preferred over
893 # Platform string mappings
906 def get_default_compiler(osname=None, platform=None):
907 """ Determine the default compiler to use for the given platform.
910 ones returned by os.name) and platform the common value
911 returned by sys.platform for the platform in question.
913 The default values are os.name and sys.platform in case the
919 if platform is None:
920 platform = sys.platform
924 if re.match(pattern, platform) is not None or \
966 platform/compiler combination. 'plat' defaults to 'os.name'
968 for that platform. Currently only 'posix' and 'nt' are supported, and
984 msg = "don't know how to compile C/C++ code on platform '%s'" % plat