Re: [CMake] How to apply the --as-needed linker flag?

2010-12-07 Thread Michael Hertling
On 11/28/2010 09:10 AM, Alan W. Irwin wrote: On 2010-11-28 06:39+0100 Michael Hertling wrote: On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of

Re: [CMake] How to apply the --as-needed linker flag?

2010-11-29 Thread Marcel Loose
On 28-11-2010 at 9:10, in message alpine.deb.2.00.1011272348290.11...@ybpnyubfg.ybpnyqbznva, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-11-28 06:39+0100 Michael Hertling wrote: On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use

Re: [CMake] How to apply the --as-needed linker flag?

2010-11-28 Thread Alan W. Irwin
On 2010-11-28 06:39+0100 Michael Hertling wrote: On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of sense since it tends to reduce startup times. But I

[CMake] How to apply the --as-needed linker flag?

2010-11-27 Thread Alan W. Irwin
I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of sense since it tends to reduce startup times. But I guess there are some caveats as well which is probably why CMake does not adopt this linker

Re: [CMake] How to apply the --as-needed linker flag?

2010-11-27 Thread Michael Hertling
On 11/27/2010 06:45 PM, Alan W. Irwin wrote: I just discovered that many Linux distros these days use the --as-needed Linux linker option by default. At first glance that option makes a lot of sense since it tends to reduce startup times. But I guess there are some caveats as well which is