Restarting from scratch on Snow Leopard

Ken Cunningham ken.cunningham.webuse at gmail.com
Fri Mar 1 16:00:42 UTC 2019


> One question about setting clang-5.0 as the default compiler. Do I have to repeat the whole LibcxxOnOlderSystems procedure or is it enough to install clang-5.0 (hoping it will install) and then change macports.conf to look something like this?
> default_compilers macports-clang-5.0 macports-clang-3.9 macports-clang-3.7 macports-clang-3.4 gcc-4.2 apple-gcc-4.2 gcc-4.0

You will hopefully _never_ have to do LibcxxOnOlderSystems again, unless you explode your MacPorts installation. Not a bad moment to back that up, BTW.

Yes, you can just set your default compiler to anything to you want now.

clang-5.0 is good -- I think probably best. IF you want to see 1000 errors / port, try setting it to clang-7.0 :>





> 
> I’m currently having success with most of the package installations I’m doing, but couldn’t install gcc. I’ve started with trying gcc49, but it failed when trying to install the libgcc7 dependency (while libgcc8 was successfully installed). I then tried to install gcc8 but failed as well.
> 
> I’m not sure if I should file some tickets about those failures, given that I no longer have a plain MacPorts installation, after having gone through the LibcxxOnOlderSystems stuff

You will almost certainly not be finding new issues -- just old issues we haven't fixed yet.

The one you're mentioning is most likely the error we see when the libunwind headers are installed. gcc builds will fail in that case.

https://trac.macports.org/ticket/57198


Gotta get around to fixing that.

Ken


More information about the macports-users mailing list