• 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: [ANS]: Is the force_load flag still necessary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANS]: Is the force_load flag still necessary?


  • Subject: Re: [ANS]: Is the force_load flag still necessary?
  • From: Alexander von Below <email@hidden>
  • Date: Fri, 29 Mar 2013 20:42:22 +0100

Am sorry, I missed that and mixed up your bug with my bug. I was under the — possibly wrong — impression that -ObjC is better.

If I remember, -load_all loads all sorts of stuff and may blow up your binary tremendously, for example when you are not only including an Objective-C static lib, but also a giant C++ static lib.

I always suggest to use -force_load instead of -load_all, where you can (and must) specify a the libs to load.

Does this help? I appreciate more information on the subject, as I am often dealing with static libs both as producer and consumer

Thanks

Alex


Am 29.03.2013 um 18:44 schrieb David Hoerl <email@hidden>:

> On 3/29/13 6:19 AM, Alexander von Below wrote:
>> OK, I've done so myself: Here is a sample project that shows that the -ObjC flag is sufficient
>>
>> https://github.com/below/LInkerTestLib
>>
>> Alex
>
> Sorry for all the confusion - you saw my latest post on which flag is better? Both work, but ObjC seems like using a sledge hammer to drive a nail...
>
> David
>
>


 _______________________________________________
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


References: 
 >[ANS]: Is the force_load flag still necessary? (From: David Hoerl <email@hidden>)
 >Re: [ANS]: Is the force_load flag still necessary? (From: Jens Alfke <email@hidden>)
 >Re: [ANS]: Is the force_load flag still necessary? (From: Alexander von Below <email@hidden>)
 >Re: [ANS]: Is the force_load flag still necessary? (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Tips on migrating pre Xcode 3.1.3 projects to Xcode 4.6
  • Previous by thread: Re: [ANS]: Is the force_load flag still necessary?
  • Next by thread: Deployment Target
  • Index(es):
    • Date
    • Thread