caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jonathandeanharrop@googlemail.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] How to fix this unbound value problem?
Date: Sat, 30 Aug 2008 22:41:54 +0100	[thread overview]
Message-ID: <200808302241.54420.jon@ffconsultancy.com> (raw)
In-Reply-To: <d5f6b0140808301429x2d1532d3tce9edff71e9f43c7@mail.gmail.com>

On Saturday 30 August 2008 22:29:51 circ ular wrote:
> how do I compile a program?

The compile line for that program is given at the bottom of this page:

  http://www.ffconsultancy.com/languages/ray_tracer/comparison.html

Specifically:

  ocamlopt -rectypes -inline 1000 ray.ml -o ray

> what suffix does ocaml files have? 

.ml and .mli files are OCaml source code. In this case, you should save that 
code into a "ray.ml" file. However, that code was designed for Linux and not 
Windows so you may have problems with Windows injecting unwanted \r 
characters into the output, resulting in wonky images.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e


      parent reply	other threads:[~2008-08-30 21:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30 21:29 circ ular
2008-08-30 21:35 ` [Caml-list] " Richard Jones
2008-08-30 21:38   ` Richard Jones
2008-08-30 21:41 ` Jon Harrop [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808302241.54420.jon@ffconsultancy.com \
    --to=jonathandeanharrop@googlemail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).