From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-07-10 17:58:42
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Gennadiy Rozental
> Sent: Monday, July 10, 2006 2:47 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] Boost.Test: automatic test cases inside
> a static library
> >> Hm, I've never heard of that option. I'll look into it.
> > Any chance you could tell me what flags the GNU GCC
> compiler would do
> > the trick? I can't find anything that resembles "avoid
> unused static
> > files discard".
> Looks like these may work:
> -fno-unit-at-a-time (?)
On Linux, I believe there is also a linker flag -Wl,-whole-archive.
There is also an equivalent on solaris but it escapes me...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk