Re: Why should we not use GCC 4.0 for deployment on systems earlier than Mac OS X 10.3.9?
Re: Why should we not use GCC 4.0 for deployment on systems earlier than Mac OS X 10.3.9?
- Subject: Re: Why should we not use GCC 4.0 for deployment on systems earlier than Mac OS X 10.3.9?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 27 Jun 2005 18:40:13 -0600
On Jun 27, 2005, at 5:40 PM, João Varela wrote:
I have been reading the documentation of GCC to see the caveats of
this compiler and I really wanted to start using GCC 4.0 because it
makes smaller code at faster compiling speeds. However, the docs
state that we SHOULD NOT use GCC 4.0 if we want to deploy on
systems earlier than Mac OS X 10.3.9. It is not said we CANNOT,
only that we SHOULDN'T. My question is: why shouldn't we?
When linking binaries, GCC 4 does two things very differently from 3.3:
1. GCC 4 links C++ code to a shared libstdc++ library; GCC 3.3 uses a
static library instead.
2. GCC 4 links all code to libmx; GCC 3.3 does not unless otherwise
requested.
#1 breaks the app on versions of Mac OS X prior to 10.3.9, which
don't have a dynamic C++ library. #2 breaks the app on versions of
Mac OS X prior to 10.3.0, which don't have libmx.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden