amk has quit [Read error: Connection reset by peer]
amk has joined #ocaml
waleee has quit [Ping timeout: 265 seconds]
spip has quit [Quit: Konversation terminated!]
<discocaml>
<darrenldl> i guess pick the one with largest user base
chrisz has quit [Ping timeout: 246 seconds]
chrisz has joined #ocaml
<discocaml>
<leviroth> Suspect for the most part it’s not languages that yield jobs; it’s names on the resume, language-agnostic skills, interview performance, etc
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
Haudegen has joined #ocaml
TheRuralJuror has joined #ocaml
mbuf has joined #ocaml
cedb has quit [Ping timeout: 240 seconds]
bgs has joined #ocaml
cedb has joined #ocaml
bgs has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
Serpent7776 has joined #ocaml
TheRuralJuror has quit [Quit: Bin weg.]
spip has joined #ocaml
mbuf has quit [Quit: Leaving]
wingsorc has quit [Quit: Leaving]
szkl has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
waleee has joined #ocaml
Haudegen has joined #ocaml
<remexre>
does anyone have a working example of using dune's ctypes support to link to a library _without_ vendoring it? the library in question ships a pkg-config file that seems to work, but I get "undefined reference" errors to every symbol from it when linking my executable
<Leonidas>
remexre: does pkg-config output the right -l flag?
<remexre>
yeah, and I can link a small C program against it with gcc $(pkg-config --cflags --libs foo) test.c
<Leonidas>
and does it work if you pass the right flag with (c_library_flags)?
<remexre>
looks like no
<remexre>
ooh, it works if i put the absolute path of the static library in instead
<remexre>
(there's both a static and shared version)
<remexre>
it looks like (c_library_flags -Bstatic -lfoo) works too, though this feels hacky
<Leonidas>
Are you sure the shared version works? It could be empty, hence a linking a small C program works
<remexre>
the C program called a function defined in the library, so it didn't just get optimized out or anything, and nm -g on the shared library shows it having the symbols i'm trying to link to
<remexre>
augh, wait, i lied, (c_library_flags -Bstatic -lfoo) doesn't work, I tried putting the path into the executable's flags as a -cclib flag and that worked, forgot to remove that
<remexre>
just adding -cclib -lfoo to the executable doesn't either though...
<discocaml>
<amaro> Hi, I have some questions concerning Diskuv... in particular, how to install dependences for `conf-` packages with it (e.g. `conf-autoconf`). Is there a specific channel for Windows and/or Diskuv?
<discocaml>
<NULL> No to the last question
<discocaml>
<amaro> Thanks!
<discocaml>
<amaro> I just noticed that Diskuv mentions MSYS2, but I don't understand if it is supposed to install it by default; if there is a way to install it with Diskuv (the installer I used never asked about it); or if I should install it myself and then configure OCaml to work with it. There are so many dkml Github repositories that I can't find some definitive documentation about that.
Serpent7776 has quit [Ping timeout: 250 seconds]
trillion_exabyte has quit [Ping timeout: 248 seconds]
trillion_exabyte has joined #ocaml
dhil has joined #ocaml
bartholin has joined #ocaml
<remexre>
ok, bizarrely, when I installed only the static version of the library, it still gets undefined reference -- I'm now wondering if the objects might be getting passed to the linker in the wrong order
John_Ivan_ has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ocaml
czy has quit [Remote host closed the connection]
dhil has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
azimut has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]