Toughie! Export all symbols automagically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to automagically export all the symbols in a dll?

mingw has an argument --export-all-symbols.

I'm not afraid to write some scripts to do my work, so suggest anything :-)

The use case is running unit tests against a dll without building the unit
tests into the dll itself, as linking times dominate.

Thanks
 
Sean Connery said:
Is there a way to automagically export all the symbols in a dll?

mingw has an argument --export-all-symbols.

I'm not afraid to write some scripts to do my work, so suggest anything
:-)

You may be able to extract the list of symbols from each object file using
the lib tool or from the browse information, then create a linker .def file.
 
Ben Voigt said:
You may be able to extract the list of symbols from each object file using
the lib tool or from the browse information, then create a linker .def file.

Thanks, that was what I had figured!

/me breaks out the python
 
Back
Top