Dan Potter
2005.05.08, 03:53 PM
From the topic you probably think I'm talking about something else. :) It's true that GCC 4.0's C++ libraries won't link against a 3.3 (Panther) binary, and vice versa.. all well known stuff.
What's maybe not as well known is that a Tiger-compiled C++ app will not run at all on Panther. I've set my GCC to 3.3 at the command line, tried messing around with build settings, so on and so forth... but Tiger now links against several additional dylibs that were not present in Panther, even on a developer machine:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.3.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Apparently both of these were only available statically linked in Panther. It's looking like I'll be stuck compiling the app on Panther to release it unless there's something I'm missing here... that or making it link the whole thing statically. What a faux paux!
Anyone have any other ideas for how to work around this? Or if I missed some setting somewhere... Maybe there's an Xcode setting to make it totally switch gears into Jaguar/Panther mode for things like this?
What's maybe not as well known is that a Tiger-compiled C++ app will not run at all on Panther. I've set my GCC to 3.3 at the command line, tried messing around with build settings, so on and so forth... but Tiger now links against several additional dylibs that were not present in Panther, even on a developer machine:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.3.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Apparently both of these were only available statically linked in Panther. It's looking like I'll be stuck compiling the app on Panther to release it unless there's something I'm missing here... that or making it link the whole thing statically. What a faux paux!
Anyone have any other ideas for how to work around this? Or if I missed some setting somewhere... Maybe there's an Xcode setting to make it totally switch gears into Jaguar/Panther mode for things like this?