Re: [ANS]: Is the force_load flag still necessary?
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