GCC

Mojca Miklavec mojca at macports.org
Sat Feb 2 22:51:58 UTC 2019


Dear Thomas,

On Sat, 2 Feb 2019 at 23:33, Thomas Bodlien wrote:
>
> I have installed gcc8 and now x86_64-apple-darwin18-gcc-8.2.0 is available.
> But where is the g++ Compiler?

It should be called "g++-mp-8", you can find it under
    /opt/local/bin/g++-mp-8
or, more generally, with the help of
    port contents gcc8
which tells you which files a particular port installed.

If you would like to call just "g++" in the future, you can use
    sudo port select set mp-gcc8
See
    port help select
    port select --list gcc

Mojca


More information about the macports-users mailing list