cc0 -d tests/arith.c0 -o tests/arith
cc0 -d -b tests/arith.c0 -o tests/arith.bc0
Io: openOut "tests/tests/arith.bc0" failed with SysErr: No such file or directory [noent]
The culprit is line 395 in top.sml
val bcfile = path_concat (out_dir, bname)
We should just use bname, the user-provided output path, instead of bcname. This does mean that the default bname (no -o will need to join the directory back on to the filename when bname is generated, but that seems fine.
The culprit is line 395 in top.sml
We should just use
bname
, the user-provided output path, instead ofbcname
. This does mean that the defaultbname
(no-o
will need to join the directory back on to the filename when bname is generated, but that seems fine.