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: 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 -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 Archives:
Bug reports: FAQ:
Beginner's list: