Boost logo

Boost :

From: Joe Van Dyk (joevandyk_at_[hidden])
Date: 2006-07-10 17:51:41


On 7/10/06, Gennadiy Rozental <gennadiy.rozental_at_[hidden]> wrote:
>
> "Joe Van Dyk" <joevandyk_at_[hidden]> wrote in message
> news:c715e640607101320k4caccc35kd102eee4cf383e02_at_mail.gmail.com...
> >> > Maybe you could use some compiler options to avoid unused static files
> >> > discard?
> >>
> >> 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:
>
> -fkeep-static-consts
> -fno-toplevel-reorder
> -fno-unit-at-a-time (?)

Thanks, I'll try that. Can you explain the problem with static
linking that makes these options necessary?

Joe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk