Files
adventofcode2024/ocaml compilation is weird.txt
2024-12-05 22:41:23 +01:00

7 lines
237 B
Plaintext

Simple compilation:
ocamlc main.ml && ./camlprog
cmd /c "(ocamlc main.ml) && camlprog.exe"
Libraries:
ocamlfind ocamlc -linkpkg -package str main.ml && ./camlprog
cmd /c "(ocamlfind ocamlc -linkpkg -package str main.ml) && camlprog.exe"