From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=AWL,DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 76CE1BBAF for ; Wed, 6 Aug 2008 16:46:04 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0BAFVVmUhIDtyejmdsb2JhbACCKS6OIj4BAQEBCQMKBw8FlW+GBQ X-IronPort-AV: E=Sophos;i="4.31,315,1215381600"; d="scan'208";a="15857797" Received: from fg-out-1718.google.com ([72.14.220.158]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Aug 2008 16:46:04 +0200 Received: by fg-out-1718.google.com with SMTP id l27so24180fgb.43 for ; Wed, 06 Aug 2008 07:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=ngPxUJbgPFRzdVSa9w4t7j2z1YRoz8KIiCsB8jPFinY=; b=RdVbCo6qiC5eP41COzqd22Mz29NASvVSvZIlyf4Hmfsa3x5U3djKmtXV6dVAyZeqmU BqzLmduVQJpsWAPFmk9aQv2U8qjoHyVl7DDe4jagrBaWIKjctEbcsRdii+mb7qcg0AAs 0Wts5CWCR5jVANlsGoWt5BAY575j13JnnfZiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=NLZhTnbqZM3JarZ246qYl/IrNKw+PWcfqiuEt4A7UqbfDHyytMgh1693/ytAQAX592 ZvTwd/mUQrELmfVLvoCKPb4q7Lp7QxchcZws21DiKVC0ZwIk40Src2AkdFokwbbCl/92 0nXr2S4jWpzH0QdFLg/gR1h1ox8rRVNXeC0u0= Received: by 10.125.96.4 with SMTP id y4mr127021mkl.54.1218033963337; Wed, 06 Aug 2008 07:46:03 -0700 (PDT) Received: by 10.125.93.4 with HTTP; Wed, 6 Aug 2008 07:46:03 -0700 (PDT) Message-ID: Date: Wed, 6 Aug 2008 10:46:03 -0400 From: "Ashish Agarwal" To: "Ben Aurel" Subject: Re: [Caml-list] Re: how do you compile Cc: caml-list@yquem.inria.fr In-Reply-To: <74a4f4670808060739h406f7697n8ce63ba4951e871b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14767_7004062.1218033963330" References: <74a4f4670808060738s41c8b6ddxc61b8e277228542c@mail.gmail.com> <74a4f4670808060739h406f7697n8ce63ba4951e871b@mail.gmail.com> X-Spam: no; 0.00; byte:01 byte:01 cmo':01 ocamlc:01 cmo':01 beginner's:01 ocaml:01 bug:01 beginner's:01 ocaml:01 bug:01 1975:98 beginners:01 beginners:01 wrote:01 ------=_Part_14767_7004062.1218033963330 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Use ocamlbuild. You can simply type "ocamlbuild lazy_lists.native" or "ocamlbuild lazy_lists.byte" to produce native or byte code respectively. All compiled files get put in a separate directory called _build. On Wed, Aug 6, 2008 at 10:39 AM, Ben Aurel wrote: > > then, the 'files lazy_lists.cmi' and 'lazy_lists.cmo' are not in the > > /bin directory. > > which is bad > > On Wed, Aug 6, 2008 at 10:38 AM, Ben Aurel wrote: > > hi > > > > If you have a simple source code like > > > > lazy_lists.ml > > > > 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. > > > > ben > > > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ------=_Part_14767_7004062.1218033963330 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Use ocamlbuild. You can simply type "ocamlbuild lazy_lists.native" or "ocamlbuild lazy_lists.byte" to produce native or byte code respectively. All compiled files get put in a separate directory called _build.


On Wed, Aug 6, 2008 at 10:39 AM, Ben Aurel <ben.aurel@gmail.com> wrote:
> then, the 'files lazy_lists.cmi' and  'lazy_lists.cmo' are not in the
> /bin directory.

which is bad

On Wed, Aug 6, 2008 at 10:38 AM, Ben Aurel <ben.aurel@gmail.com> wrote:
> hi
>
> If you have a simple source code like
>
>  lazy_lists.ml
>
> 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.
>
> ben
>

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

------=_Part_14767_7004062.1218033963330--