Version française
Home     About     Download     Resources     Contact us    
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.ml > foo.mli
because when the compiler sees foo.ml, 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 foo.ml -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 caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners