

Based on the versionĭsextras.py-106- # the proper flag is used below.ĭsextras.py-107- msnative_struct = ĭsextras.py:109: gcc_version = getoutput('gcc -dumpversion')ĭsextras.py-110- print 'using MinGW GCC version %s with %s option' % \ĭsextras.py:111: (gcc_version, msnative_struct])ĭsextras.py:112: self.extra_compile_args.append(msnative_struct])ĭsextras.py-114- def modify_compiler(self):ĭsextras.py-115- if sys.platform = 'win32' and \ĭsextras.py-116- _type = 'mingw32':ĭsextras.py-117- # Remove '-static' linker option to prevent MinGW ldĭsextras.py-118- # from trying to link with MSVC import libraries.ĭsextras.py-119- if _so.count('-static'):ĭsextras.py-120- _so.remove('-static') usr/lib/vmware-installer/2.1.0/python/pygtk# grep -n -r -C 8 "gcc" *ĭsextras.py-98-class BuildExt(build_ext):ĭsextras.py-99- def init_extra_compile_args(self):ĭsextras.py-100- self.extra_compile_args = ĭsextras.py-101- if sys.platform = 'win32' and \ĭsextras.py-102- _type = 'mingw32':ĭsextras.py-103- # MSVC compatible struct packing is required.ĭsextras.py:104: # Note gcc2 uses -fnative-struct while gcc3ĭsextras.py-105- # uses -mms-bitfields. I had a look at an installed version of VMware Player down here and it seems that the installer script uses gcc -dumpversion to determine the actual version.
