uv-ocaml icon indicating copy to clipboard operation
uv-ocaml copied to clipboard

linking on examples

Open nrlucaroni opened this issue 11 years ago • 0 comments

libuv uses libtools to build .la files. I have little experience with these types of files. I had success statically linking the hello-world with these additional linking options,

-Wl,--no-as-needed -luv -lpthread -static

apparently libtools should be used to link (see manual below). I'm not sure if the entire library should be linked this way. Any ideas? I'll be look into this over the next few days.

http://www.gnu.org/software/libtool/manual/html_node/Linking-executables.html

nrlucaroni avatar Apr 27 '14 02:04 nrlucaroni