Skip to content

Commit 489caa6

Browse files
committed
change command line according to @dra27
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent a8cf597 commit 489caa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rfcs/cmt_input.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ them.
77
The first request is to type check compilation units and produce `.cmt` files:
88

99
```
10-
$ ocamlc -c foo.ml -o foo.cmt
10+
$ ocamlc -c foo.ml -output-cmt
1111
```
1212

1313
The second request is to take `.cmt` files as input to produce object files:
1414

1515
```
16-
$ ocamlc -c foo.cmt -o foo.cmo
17-
$ ocamlopt -c foo.cmt -o foo.cmx
16+
$ ocamlc -c foo.cmt
17+
$ ocamlopt -c foo.cmt
1818
```
1919

2020
How does this help? The motivation is mainly to simplify some rough edges of

0 commit comments

Comments
 (0)