From: H. P. A. <hp...@zy...> - 2016-08-02 17:02:17
|
On 08/02/16 09:51, Cyrill Gorcunov wrote: > On Tue, Aug 02, 2016 at 09:48:11AM -0700, anonymous coward wrote: >>> I think --whole-archive option needed for ld >> >> not supported under OS X, it seems -- the ld >> man page doesn't have it, and there are hits >> in web searches for this very topic > > I hit the same problem in other project where i've been > linking objects and archive file into executable. But > since it's unsupported on osx, won't help. Thanks for > trying! > It's a massive hammer, though, and almost always wrong. Other than some serious low-level programming, the most legitimate use for it is when you have objects in an archive that will be needed by subsequently dlopen()'d objects. -hpa |