dll - How to exclude a system library from dynamic linking -
dll - How to exclude a system library from dynamic linking -
i have local dll want shadow scheme one. how do that?
specifically (on linux):
/usr/bin/clang++ -o vw main.o -l. -l vw -l allreduce -l /usr/lib -l /usr/lib/x86_64-linux-gnu -l boost_program_options -l pthread -l z
but then
$ ldd vowpalwabbit/vw libvw.so => /usr/lib64/libvw.so (0x00007ffa22789000)
and want point ./libvw.so
instead
afaik parameter -nostdlib, used plain c.
see clang produces crashing code -nostdlib
dll linker
Comments
Post a Comment