Example #1
0
def posix_Darwin_x86_64():
    import darwin_tools
    if BUILD_TARGET == 'x86_64':
        env = darwin_tools.PiDarwinEnvironment('macosx-x86-64')
        env.Replace(IS_MACOSX_86=True)
        env.Replace(IS_MACOSX_8664=True)
    else:
        env = darwin_tools.PiDarwinEnvironment('macosx-i386')
        env.Replace(IS_MACOSX_86=True)
        env.Replace(IS_MACOSX_i386=True)
    return env
Example #2
0
def posix_Darwin_Power_Macintosh():
    import darwin_tools
    env = darwin_tools.PiDarwinEnvironment('macosx-ppc')
    env.Replace(IS_BIGENDIAN=True)
    env.Replace(IS_MACOSX_PPC32=True)
    return env
Example #3
0
def posix_Darwin_i386():
    import darwin_tools
    env = darwin_tools.PiDarwinEnvironment('macosx-i386')
    env.Replace(IS_MACOSX_86=True)
    return env
Example #4
0
def posix_Darwin_x86_64():
    import darwin_tools
    env = darwin_tools.PiDarwinEnvironment('macosx-i386')
    env.Replace(MACOSXSDK='/Developer-old/SDKs/MacOSX10.4u.sdk')
    env.Replace(IS_MACOSX_86=True)
    return env