c++ - How to explore the functions in .A library file -


i created .a , corresponding .dll file mingw. run on windows. attempting interface , use function in .a library different component , getting linker error. wanted make sure if functions exported properly. therefore followed this link , decided this

> lib.exe /list libsomelibrary.a 

as result this

d001861.o d001862.o d001863.o d001864.o d001865.o d001866.o d001867.o d001868.o d001869.o d001870.o d001871.o d001872.o d001873.o d001874.o d001875.o d001876.o d001877.o d001878.o d001879.o d001880.o d001881.o d001882.o d001883.o .... .... 

is correct. there way me names of functions in lib file.

since using mingw, may use nm command list contents of libfoo.a archive file; used thus:

nm -a libfoo.a | more 

(or better still, if have less command, e.g. in mingw's msys shell environment):

nm -a libfoo.a | less 

it list symbols specified within archive, grouped , qualified name of embedded object file provides each one.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -