Changes between Version 54 and Version 55 of LibcxxOnOlderSystems
- Timestamp:
- Dec 26, 2016, 8:34:11 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LibcxxOnOlderSystems
v54 v55 51 51 ==== Bootstrapping 3: Build a current version of clang against libc++ ==== 52 52 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.53 The instructions below will install clang-3.7. clang-3.8 and clang-3.9 recently started to support Leopard and Snow Leopard. 54 54 55 55 1. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain: … … 82 82 default_compilers macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0 83 83 }}} 84 7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3. 8):84 7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.9): 85 85 {{{ 86 86 sudo port -v -n upgrade --force --enforce-variants cctools -llvm33 -llvm34 … … 91 91 -ld64_97 92 92 -ld64_127 93 -ld64_13694 93 -ld64_236 95 94 }}} 96 95 9. **Snow Leopard Only:** Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker: 97 96 {{{ 98 sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_ 136 -ld64_23697 sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236 99 98 }}} 100 10. **Experimental:** Install clang-3. 899 10. **Experimental:** Install clang-3.9 101 100 {{{ 102 sudo port -v install clang-3. 8101 sudo port -v install clang-3.9 103 102 }}} 104 11. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3. 8` as preferred compiler:103 11. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.9` as preferred compiler: 105 104 {{{ 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.0105 default_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 107 106 }}} 108 107 12. Uninstall the bootstrap toolchain: