Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] interface printing without generating object code?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Emmanuel Renieris <er@c...>
Subject: Re: [Caml-list] interface printing without generating object code?
It does produce both files.  I will second the request. Under linux, 
(unix in general, I think) it is now impossible to do
    ocamlc -c -i > foo.mli
because when the compiler sees, there is a foo.mli already,
but there is no accompanying .cmi.

-- Manos

On Fri, Feb 07, 2003 at 06:09:56PM -0800, Chris Hecker wrote:
> >What do you want that's not
> >   ocamlc -i -c -o /dev/null
> >?
> I tried that (well, the windows version with NUL) and it didn't work.  It 
> still generated both a cmi and a cmo.  Doesn't yours generate a cmi at 
> least, even on unix?  I want no output except stdout.
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: