> It's not optimizing the variable, it's optimizing the entire .o file out of > the linkage, as nothing external is explicitly using any of the symbols in > the .o. Ah - that explains a lot! > > No. Either build gnucap as a shared library or add some dummy references to > symbols in the file(s) that are referenced, perhaps indirectly, by code > outside of the library. Ok, thanks, at least I have a clue now where to look. I'll think about it...
Torsten ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel