Changes between Version 54 and Version 55 of LibcxxOnOlderSystems


Ignore:
Timestamp:
Dec 26, 2016, 8:34:11 AM (7 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

Removal of ld64-136, addition of clang-3.9, updated llvm variant for ld64.

Legend:

Unmodified
Added
Removed
Modified
  • LibcxxOnOlderSystems

    v54 v55  
    5151==== Bootstrapping 3: Build a current version of clang against libc++ ====
    5252
    53 The instructions below will install clang-3.7 because clang-3.8 only recently started to support Leopard and Snow Leopard, but there are currently no known regressions between clang-3.7 and clang-3.8.
     53The instructions below will install clang-3.7.  clang-3.8 and clang-3.9 recently started to support Leopard and Snow Leopard.
    5454
    55551. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain:
     
    8282default_compilers  macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
    8383}}}
    84 7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.8):
     847. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.9):
    8585{{{
    8686sudo port -v -n upgrade --force --enforce-variants cctools -llvm33 -llvm34
     
    9191-ld64_97
    9292-ld64_127
    93 -ld64_136
    9493-ld64_236
    9594}}}
    96959. **Snow Leopard Only:** Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker:
    9796{{{
    98 sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_136 -ld64_236
     97sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236
    9998}}}
    100 10. **Experimental:** Install clang-3.8
     9910. **Experimental:** Install clang-3.9
    101100{{{
    102 sudo port -v install clang-3.8
     101sudo port -v install clang-3.9
    103102}}}
    104 11. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.8` as preferred compiler:
     10311. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.9` as preferred compiler:
    105104{{{
    106 default_compilers macports-clang-3.8 macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
     105default_compilers macports-clang-3.9 macports-clang-3.8 macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
    107106}}}
    10810712. Uninstall the bootstrap toolchain: