English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2003-02-08 (22:06)
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