Skip to content

Commit

Permalink
Change machdepArchConfigure compiled output name to avoid potential c…
Browse files Browse the repository at this point in the history
…onflict with modelConfigure
  • Loading branch information
sim642 committed Sep 25, 2024
1 parent 73d0251 commit 72829a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/machdepArchConfigure.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let () =
]
in
C.main ~name:"model" ~args (fun c ->
let exe = "./machdep-ml" ^ !m ^ ".exe" in
let exe = "./machdep" ^ !m ^ "-ml.exe" in
let {C.Process.exit_code; stdout; stderr} = C.Process.run c !real_gcc ["-D_GNUCC"; "-m" ^ !m; "machdep-ml.c"; "-o"; exe] in
if exit_code = 0 then (
let {C.Process.stdout; stderr; exit_code} = C.Process.run c exe [] in
Expand Down

0 comments on commit 72829a3

Please sign in to comment.