From 3dd1053ff9aa112b7736dd25095115e85337b99f Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Fri, 19 May 2023 23:21:42 +0530 Subject: [PATCH] ocamlfind: update path placeholders (#10244) --- pages/common/ocamlfind.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/ocamlfind.md b/pages/common/ocamlfind.md index cbed8c1944..d9dab15fea 100644 --- a/pages/common/ocamlfind.md +++ b/pages/common/ocamlfind.md @@ -6,12 +6,12 @@ - Compile a source file to a native binary and link with packages: -`ocamlfind ocamlopt -package {{package1}},{{package2}} -linkpkg -o {{executable}} {{source_file.ml}}` +`ocamlfind ocamlopt -package {{package1}},{{package2}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}` - Compile a source file to a bytecode binary and link with packages: -`ocamlfind ocamlc -package {{package1}},{{package2}} -linkpkg -o {{executable}} {{source_file.ml}}` +`ocamlfind ocamlc -package {{package1}},{{package2}} -linkpkg -o {{path/to/executable}} {{path/to/source.ml}}` - Cross-compile for a different platform: -`ocamlfind -toolchain {{cross-toolchain}} ocamlopt -o {{executable}} {{source_file.ml}}` +`ocamlfind -toolchain {{cross-toolchain}} ocamlopt -o {{path/to/executable}} {{path/to/source.ml}}`