From a07f8321b94df1c8c440a722e04082d2c2bebbaa Mon Sep 17 00:00:00 2001 From: 5HT Date: Sun, 7 Apr 2024 13:51:27 +0300 Subject: [PATCH] with arm gcc envokation --- src/joe/main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joe/main.ml b/src/joe/main.ml index dc93b55..1e205cf 100644 --- a/src/joe/main.ml +++ b/src/joe/main.ml @@ -52,7 +52,7 @@ let main f = with_flag ast_dump ~tru:(fun _ -> ast outchan input) ~fls:(fun _ -> lexbuf outchan input; close_in inchan; close_out outchan); - Sys.command ("gcc" ^ filename ^ "src/arm64/libmincaml.c src/arm64/stub.c -o " ^ f ^ ".exe") |> ignore; + Sys.command ("gcc " ^ filename ^ " src/arm64/libmincaml.c src/arm64/stub.c -o ./" ^ f ^ ".exe") |> ignore; with | e -> close_in inchan;