LibcxxOnOlderSystems

Bjarne D Mathiesen macintosh at mathiesen.info
Thu Aug 29 22:46:22 UTC 2019


Bill Cole wrote:
> 
> I successfully re-ran the LibcxxOnOlderSystems procedure last weekend
> and have what seems to be a working setup on an original Intel Core Duo
> iMac running 10.6.8.
I've also just done that on mine during the last two days.
    !!!EXECPT!!!
that I didn't re-install libcxx !

port -f uninstall ld64* clang* llvm* *gcc*
port -f uninstall cctools
port -vN install clang-3.4 ld64 cctools libcxx
port -vN install clang-3.7
port -v -n upgrade --force --enforce-variants cctools -llvm34 +llvm37
port -v -n upgrade --force --enforce-variants ld64 -llvm34 +llvm37
port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236
port deactivate ld64 @3_1
port deactivate ld64-127 @127.2_14+llvm34
port -vN install clang-5.0
port -v -n upgrade --force --enforce-variants cctools -llvm37 +llvm50
port uninstall ld64 @3_1+ld64_127 ld64-127 @127.2_14+llvm34
port -v -n upgrade --force --enforce-variants \
     ld64-latest -llvm37 +llvm50


#=> port -v installed name:^clang name:^llvm name:*gcc* name:libcxx
The following ports are currently installed:
  clang-3.4
      @3.4.2_12
      platform='darwin 10' archs='i386'
      date='2019-08-29T02:10:33+0200'
  clang-3.7 @3.7.1_5+analyzer (active)
      platform='darwin 10' archs='i386'
      date='2019-08-28T13:31:20+0200'
  clang-5.0
      @5.0.2_3+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
      platform='darwin 10' archs='i386'
      date='2019-08-28T20:04:16+0200'
  clang-8.0
      @8.0.0_0+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
      platform='darwin 10' archs='i386'
      date='2019-08-29T18:36:30+0200'
  clang_select
      @2_0 (active)
      platform='darwin 10' archs='noarch'
      date='2019-08-28T05:45:06+0200'
  libcxx                                              <--------------
      @5.0.1_4+universal (active)                     <--------------
      platform='darwin 10' archs='i386 x86_64'        <--------------
      date='2019-08-08T15:35:51+0200'                 <--------------
  llvm-3.4
      @3.4.2_12 platform='darwin 10' archs='i386'
      date='2019-08-29T00:15:35+0200'
  llvm-3.7
      @3.7.1_4 (active)
      platform='darwin 10' archs='i386'
      date='2019-08-28T10:32:52+0200'
  llvm-5.0
      @5.0.2_0 (active)
      platform='darwin 10' archs='i386'
      date='2019-08-28T16:11:21+0200'
  llvm-8.0
      @8.0.0_0+emulated_tls (active)
      platform='darwin 10' archs='i386'
      date='2019-08-29T12:12:41+0200'
  llvm_select
      @2_0 (active)
      platform='darwin 10' archs='noarch'
      date='2019-08-27T20:19:37+0200'

To me, it looks as if you have installed (at least) libcxx, you can
start over again with the rest of the toolchain.

But a completely fresh install messes up.

Another thing I could do was re-compile the toolchain as universal on
the i386 and then just copy it over to the x86_64 system.

-- 
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra :
   17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
   2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
   Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
   Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz


More information about the macports-users mailing list