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: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] interface printing without generating object code?
> >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.

Yes, the -o option is ignored when just compiling (ocamlc -c).  It
affects only linking and library construction.

> I want no output except stdout.

That's reasonable, and I'm willing to implement this.  I believe no
one currently relies on the fact that ocamlc -i also compiles and
generates .cmi and .cmo files; if not, drop me a line.

- Xavier Leroy
-------------------
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