
10 Jul
2006
10 Jul
'06
9:51 p.m.
On 7/10/06, Gennadiy Rozental <gennadiy.rozental@thomson.com> wrote:
"Joe Van Dyk" <joevandyk@gmail.com> wrote in message news:c715e640607101320k4caccc35kd102eee4cf383e02@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