On 31.12.24 15:57, Julien Lepiller wrote:
I tried and after adding ocaml-findlib in the shell, I was able to build with:

ocamlfind ocamlc -package zarith -linkpkg -o main main.ml

I don't use ocaml often but it looks like how you need to specify the libraries 
to gcc with -I and -l.

I don't know how it would work with ocamlc alone. Does it work like that on 
other distros?

Hi Julien!

Thank you for figuring this out! It works for me as well.

May I ask, how you found out about this?

Best regards, Zelphir

--
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl

Reply via email to