On Sep 6, 2014, at 4:18 AM, René J.V. Bertin wrote: > On Friday September 05 2014 22:41:42 Lawrence Velázquez wrote: > >> Judging from your comments, your crashes are probably caused because you're >> mixing up C++ runtime libraries. Binaries compiled with MacPorts' gcc48 use >> libgcc's libraries. Binaries compiled with Xcode's compiler will use the >> system libraries. If these binaries try to exchange objects in any fashion, >> you'll have trouble. > > From what I understand, that's valid on later OS X versions, but not > (necessarily) on OS X 10.6. [...]
On all OS X versions. The only difference is that in OS X 10.9 the system library changed from libstdc++ to libc++. However, Apple's libstdc++ is not identical to libgcc's libstdc++, so yes, mixing libgcc's and the system's libraries can cause problems on any version of OS X. >> The FSF GCC ports each used to include their own runtime and support >> libraries (libstdc++, libgcc_s, etc.). This caused problems when, for >> example, a port using gcc44's libraries linked against a port using gcc45's >> libraries. > > On 10.6 or earlier already? [...] On all OS X versions. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users