Martin Sebor wrote:
Justin Erenkrantz wrote:

On Tue, Jan 10, 2006 at 10:11:04AM -0700, Martin Sebor wrote:

[...]

% nm /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib | egrep
  "__gxx_personality_v0|__cxa_throw|__cxa_allocate" | grep " T "
9550da34 T ___cxa_allocate_exception
9550ec80 T ___cxa_throw
9550e5d0 T ___gxx_personality_v0

So, does that mean Apple did something they shouldn't have done?


These symbols (basically the implementation of the C++ runtime ABI)
are actually expected to be defined in both libstdc++ and libsupc++
so this in itself is not the smoking gun. The absence of libsupc++
does make me suspect that they might have "simplified" things by
not providing libsupc++. We'll need to confirm this with Apple.
Let me ask Howard Hinnant, their new libstdc++ guy.

According to Howard, Apple doesn't distribute libsupc++ with gcc 4
on OS X. Instead they make it available for download as part of their
Xcode development environment. See
    http://www.apple.com/macosx/features/xcode/
and
    http://developer.apple.com/tools/download/.

Martin

Reply via email to