Re: Weak linking framework with bundle ?
Re: Weak linking framework with bundle ?
- Subject: Re: Weak linking framework with bundle ?
- From: Eric Albert <email@hidden>
- Date: Thu, 4 Nov 2004 09:34:51 -0800
On Nov 4, 2004, at 9:04 AM, Mike Richmond wrote:
My link command is:
/usr/bin/g++2 -Wl,-weak_framework -Wl,<framework_name>
-F<framework_location> -bundle ...
and I am running 10.3.4. Might this be a failing of gcc2?
Weak linking was added in 10.2 and therefore almost certainly requires
at least the developer tools that shipped with 10.2. Actually,
<http://developer.apple.com/technotes/tn2002/tn2064.html> says "It is
highly recommended that you use the December 2002 toolset if you want
to use weak linking and the Availability Macros." GCC 2.95.2, though
it was included in that tools distribution for backwards compatibility,
wasn't updated to include any new features in 10.2. I'd strongly
suggest using GCC 3.1 (or, better yet, 3.3) instead.
(For that matter, 3.1 and 3.3 are much better than 2.95.2 for many
other reasons. You shouldn't have a need for 2.95.2 at all.)
-Eric
_______________________________________________
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