[cfe-users] (OS X) Combine .a's into one .dylib

Kevin Ingwersen ingwie2000 at googlemail.com
Fri Apr 4 01:11:29 PDT 2014


Thank you! I tried it, and it was what I was looking for. :)
Thanks for the help!

Kind regards,
Ingwie
Am Fr. Apr. 04 2014 10:07:19 schrieb Lucas Soltic:

> Le 3 avr. 2014 à 21:01, Kevin Ingwersen <ingwie2000 at googlemail.com> a écrit :
> 
>> Hey there!
>> 
>> During a build process, I am creating quite some libraries. I now want to combine the various static libraries into one dynamic library…but whatever I tried, I only got an 8KB large file, it disappointed me somewhat. What would be the proper way of doing this?
>> 
>> Kind regards, Ingwie.
>> _______________________________________________
>> cfe-users mailing list
>> cfe-users at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users
> 
> Hello Ingwie,
> 
> I guess the -all_load option is what you need:
> man ld:
> -all_load   Loads all members of static archive libraries.
> 
> Or -force_load if you want to load all the symbols from a specific archive only.
> 
> Lucas






More information about the cfe-users mailing list