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
Hi,
this is a question for the gnu linker geek:
I am trying to add gnucap to FlightGear as posted before. It compiles cleanly
and links fine, but there is one issue. Gnucap uses commands which are
implemented in separate files. These commands get registered into a global
command registry.
On Thu, Apr 15, 2010 at 10:59 PM, Torsten Dreyer tors...@t3r.de wrote:
Hi,
this is a question for the gnu linker geek:
I am trying to add gnucap to FlightGear as posted before. It compiles
cleanly
and links fine, but there is one issue. Gnucap uses commands which are
implemented in
3 matches
Mail list logo