Handling C++11
Marcus Calhoun-Lopez
mcalhoun at macports.org
Mon Jan 16 20:20:43 UTC 2017
> Apple's lawyers don't think so, so you cannot redistribute anything combining Apple libraries with it. (Since you can't avoid libSystem, this means you cannot redistribute binaries.)
>
> It's not a question of what makes sense to you, it's not a question of what would be convenient. Apple called the shots and we are forced to adapt.
Please understand, I was not trying to argue the point.
I just had no idea that mixing libSystem with libstdc++ made a binary non-distributable.
Thank you for clarifying.
This reveals a bigger problem than just my proposal.
I do not think our buidbot recognizes this fact.
For example, the binary version of the gcc port we distribute mixes libSystem and libstdc++.
otool -L /opt/local/lib/gcc6/i386/libasan.3.dylib
/opt/local/lib/gcc6/i386/libasan.3.dylib:
/opt/local/lib/gcc6/i386/libasan.3.dylib (compatibility version 4.0.0, current version 4.0.0)
/opt/local/lib/gcc6/i386/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.22.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
/opt/local/lib/gcc6/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
-Marcus
More information about the macports-dev
mailing list