bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --whole-archive doesn't work on OSX


From: Peter O'Gorman
Subject: Re: --whole-archive doesn't work on OSX
Date: Wed, 2 Aug 2006 22:40:29 +0900


On Aug 2, 2006, at 10:24 AM, Andrew Miller wrote:

Hi,

I have just posted a bug regarding libtool on OSX to http:// savannah.gnu.org/support/index.php?func=detailitem&item_id=105489

I'm not sure if that is the right place to post bugs, so in case it isn't, here is the text of the report:

This bug tested on:
Darwin bioeng21.bioeng.auckland.ac.nz 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/ RELEASE_PPC Power Macintosh powerpc

It seems that recent versions of libtool don't support the --whole- archive on MacOSX. This causes the --whole-archive flag to be passed to gcc (which seems to be silently ignored on OSX), resulting in a link which doesn't really contain the whole archive.
For example:

--whole-archive is not a libtool flag, where do you see documentation that states you can pass --whole-archive to libtool?

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]