libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Use darwin's -force_load flag if available for whole_archive


From: Peter O'Gorman
Subject: Re: [PATCH] Use darwin's -force_load flag if available for whole_archive_flag_spec
Date: Mon, 7 Sep 2009 00:48:49 -0500


On Sep 6, 2009, at 12:29 PM, Ralf Wildenhues wrote:

Hi Peter,

* Peter O'Gorman wrote on Sun, Sep 06, 2009 at 05:28:52PM CEST:
Well, Mac OS X 10.6 has been released, and its linker now has support
for an option similar to --whole-archive. -force_load libfoo.a will load all members of libfoo.a into the output. -force_load <lib> can be given
multiple times on the command line.

This patch (and a test case that checks that gdb can find the debugging
symbols) makes libtool use this new option.

I think this is ok, with nits below addressed.  Did you run the
testsuite with it, esp. the tests in convenience.at?

Of course :)


Any reason to go with a compile test rather than a simple system version
test?

Yes, the compile test will work when cross-compiling to darwin using the odcctools that I released last month (which includes the - force_load option).

This is that patch that I pushed.

Thank you.

Peter
--
Peter O'Gorman
http://pogma.com

Attachment: 0001-Use-darwin-s-force_load-flag-if-available-for-whole.patch
Description: Binary data



reply via email to

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