-static-libgcc needs libstdc++.a on macos