• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weak linking framework with bundle ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Weak linking framework with bundle ?
      • From: Mike Richmond <email@hidden>
References: 
 >Weak linking framework with bundle ? (From: Mike Richmond <email@hidden>)

  • Prev by Date: Weak linking framework with bundle ?
  • Next by Date: Can't create projects on network drives...
  • Previous by thread: Weak linking framework with bundle ?
  • Next by thread: Re: Weak linking framework with bundle ?
  • Index(es):
    • Date
    • Thread