nodejs tests? Always seem to fail.

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Apr 24 14:59:50 UTC 2019


Ryan wrote:

> On 10.6, "c++" is g++-4.2, which doesn't understand the -stdlib flag, which explains the above error message. On later systems, "c++" is clang++, which does understand the -stdlib flag, so you should not have seen the same error on later systems.

That's it, I think.

On my Mojave machine, I had "sudo port select'ed" macports-gcc8 as the gcc.

That add an /opt/local/bin/c++  pointing to gcc8 which I didn't expect, and so

c++ ...

was picking up gcc8.

Thanks!

Ken


More information about the macports-users mailing list