build-scripts/g++-fat.sh
changeset 7507 885b4aab4190
parent 7255 ea30c1b99365
child 9221 0702f9d6e2b1
equal deleted inserted replaced
7506:ccf5fbfa2afa 7507:885b4aab4190
     5 # Usage: ./configure CXX="sh g++-fat.sh" && make && rm -rf x86 x64
     5 # Usage: ./configure CXX="sh g++-fat.sh" && make && rm -rf x86 x64
     6 
     6 
     7 DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
     7 DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
     8 
     8 
     9 # Intel 32-bit compiler flags (10.6 runtime compatibility)
     9 # Intel 32-bit compiler flags (10.6 runtime compatibility)
    10 GCC_COMPILE_X86="g++ -arch i386 -mmacosx-version-min=10.6 \
    10 GCC_COMPILE_X86="g++ -arch i386 -mmacosx-version-min=10.5 \
    11 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \
       
    12 -I/usr/local/include"
    11 -I/usr/local/include"
    13 
    12 
    14 GCC_LINK_X86="-mmacosx-version-min=10.6"
    13 GCC_LINK_X86="-mmacosx-version-min=10.5"
    15 
    14 
    16 # Intel 64-bit compiler flags (10.6 runtime compatibility)
    15 # Intel 64-bit compiler flags (10.6 runtime compatibility)
    17 GCC_COMPILE_X64="g++ -arch x86_64 -mmacosx-version-min=10.6 \
    16 GCC_COMPILE_X64="g++ -arch x86_64 -mmacosx-version-min=10.6 \
    18 -DMAC_OS_X_VERSION_MIN_REQUIRED=1050 \
       
    19 -I/usr/local/include"
    17 -I/usr/local/include"
    20 
    18 
    21 GCC_LINK_X64="-mmacosx-version-min=10.6"
    19 GCC_LINK_X64="-mmacosx-version-min=10.6"
    22 
    20 
    23 # Output both PowerPC and Intel object files
    21 # Output both PowerPC and Intel object files