Browse thread
[Caml-list] -i option to compiler
-
Ian Zimmerman
-
David Monniaux
-
Eric C. Cooper
-
Ian Zimmerman
- Jacques Garrigue
-
Ian Zimmerman
-
Eric C. Cooper
-
David Monniaux
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jacques Garrigue <garrigue@k...> |
| Subject: | Re: [Caml-list] -i option to compiler |
From: Ian Zimmerman <itz@speakeasy.org> > The real root of the inconvenience is that the compiler treats -i runs > as normal compilations with just a silly side task to take care of. > > Instead, it should just switch to a mode where generating the > interface is the _only_ thing it does, and overwrite an existing .mli > file if necessary (let user beware). That seems reasonnable: I cannot actually imagine a situation where one would want to produce both the .cmo and .mli simultaneously. Making -i a compilation mode by itself would have the extra advantage of avoiding to produce an a.out when one forgot the (meaningless) -c. Jacques Garrigue ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr