From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id BC4DA7ED33 for ; Wed, 20 Jun 2012 02:56:33 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloIAGwe4U9QW+UDgWdsb2JhbABFqRIBjF0iAQEWJieCGAEBBYEJCxgcEhAsGxmIDwe5N4svgn+DGwOSEIMVgRKRSw X-IronPort-AV: E=Sophos;i="4.77,439,1336341600"; d="scan'208";a="148180476" Received: from plane.gmane.org ([80.91.229.3]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 20 Jun 2012 02:56:33 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sh9Dg-0007Kq-S1 for caml-list@inria.fr; Wed, 20 Jun 2012 02:56:28 +0200 Received: from ks368928.kimsufi.com ([94.23.39.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jun 2012 02:56:28 +0200 Received: from sylvain by ks368928.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jun 2012 02:56:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Date: Wed, 20 Jun 2012 00:56:18 +0000 (UTC) Message-ID: References: <4FDABAE8.8070906@riken.jp> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ks368928.kimsufi.com User-Agent: slrn/pre1.0.0-18 (Linux) Subject: [Caml-list] Re: oasis help: generating a toplevel instead of an exe Hello, On 15-06-2012, Francois Berenger wrote: > Hello, > > If I create the program toto.exe with oasis, > is it possible to compile via oasis a toplevel where > all the dependencies of toto.exe are available? > > My goal is to test interactively some functions > used by toto.exe (yes, I'd like to retard the eventuality of > having to fire up the debugger). > Have a look at how lwt is creating toplevel. Cheers, Sylvain Le Gall -- Linkedin: http://fr.linkedin.com/in/sylvainlegall Start an OCaml project here: http://forge.ocamlcore.org OCaml blogs: http://planet.ocamlcore.org