#when I cross compile a shared library to x86_64-windows-gnu the dll has no symbols defined

1 messages · Page 1 of 1 (latest)

balmy brook
#

when I have the build system create an .so file I'm able to objdump and see all the symbols. If I set my target to x86_64-windows-gnu the build succeeds but when I winedump the dll there are no symbols. Is there some extra step I need for the symbols to be exposed in a dll?

agile herald
#

On windows debug symbols are in the pdb file.

balmy brook
#

don't symbols still need to be in the dll for for dynamic linking to work? If I winedump any prebuilt dll it finds symbols

agile herald
#

Only exports, so you have to export what you expect to dynamically link.