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 -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -