libc++, C++11, and C++14 on Leopard and Snow Leopard

Lawrence Velázquez larryv at macports.org
Wed Jan 14 10:29:39 PST 2015


On Jan 12, 2015, at 10:38 PM, Takeshi Enomoto <takeshi at macports.org> wrote:

>> 7) Rebuild llvm-3.4 and clang-3.4 to use libc++, using clang-3.5:
>>        sudo port -v install clang-3.5
>>        sudo port -v uninstall llvm-3.4 clang-3.4
>>        sudo port -v install clang-3.4 configure.compiler=macports-clang-3.5
> 
> I am trying to follow your instruction on Snow Leopard.
> I'm at step 7, but I can't uninstall llvm-3.4 because cctools and ld64
> depends on it.
> I can deactivate cctools, but not ld64, on which clang-3.5 depends.

You just have to reinstall cctools and ld64 before removing llvm-3.4:

    [...]

    % sudo port install clang-3.5
    % sudo port -n upgrade --enforce-variants cctools -llvm34 +llvm35
    % sudo port -n upgrade --enforce-variants ld64 -llvm34 +llvm35
    % sudo port uninstall llvm-3.4 clang-3.4

    [...]

vq


More information about the macports-dev mailing list