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
how do you compile
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-08-06 (14:38)
From: Ben Aurel <ben.aurel@g...>
Subject: how do you compile

If you have a simple source code like

what is the best way to compile that in your opinion? I though it
would be usefull to have anything but the .ml source code in a bin
directory. What do you think of that?

If I try that with

"ocamlc -o bin/lazy_lists"

then, the 'files lazy_lists.cmi' and  'lazy_lists.cmo' are not in the
/bin directory.