Changes between Version 38 and Version 39 of LibcxxOnOlderSystems


Ignore:
Timestamp:
Aug 5, 2016, 3:06:53 AM (8 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LibcxxOnOlderSystems

    v38 v39  
    7070sudo port -v -f uninstall inactive
    7171}}}
    72 4. Build a newer clang using libc++:
     724. Build a newer clang using libc++ (note: this will also install clang-3.7 as a build dependency):
    7373{{{
    7474sudo port -v install clang-3.8
     
    8787sudo port -v upgrade --enforce-variants ld64 -llvm34
    8888}}}
    89 8. Uninstall the bootstrap toolchain:
     898. Disable the variants corresponding to the older versions of ld64 in `/opt/local/etc/macports/variants.conf`.  This ensures that ld64 will be reinstalled using the appropriate variants in the future:
     90{{{
     91-ld64_97
     92-ld64_127
     93-ld64_136
     94-ld64_236
     95}}}
     969. Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker (note macports-clang-3.8 fails to compile it on Snow Leopard currently, so use macports-clang-3.7):
     97{{{
     98sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_136 -ld64_236 configure.compiler=macports-clang-3.7
     99}}}
     10010. Uninstall the bootstrap toolchain:
    90101{{{
    91102sudo port -v deactivate llvm-3.4 clang-3.4