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
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 lazy_lists.ml"

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