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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -