I have checked c2nim which seems can do most work for using functions in dynamic library without any dynamic linking library file.
I also checked wxNim source which seems to be translated by hand for static link, but of cause it can link dynamic library. But is there an aided tool can do most of the work automatically? Thanks