[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to compile ocaml program with lwt support


  • To: <cl-mirage@xxxxxxxxxxxxxxx>
  • From: "Yiming Zhang" <sdiris@xxxxxxxxx>
  • Date: Tue, 20 Nov 2012 16:00:36 -0000
  • List-id: MirageOS development <cl-mirage.lists.cam.ac.uk>
  • Thread-index: Ac3HNrFfIOWUE13iSoidDQRoGUvf4w==

Dear all,

 

I am using eclipse to write an ocaml program with lwt support (I wrote in the first line “open Lwt”). And I want to compile it by “ make Makefile” based on the OCamlMakefile support. How should I write the Makefile? I tried “PACKS = lwt lwt.unix lwt.syntax” but it reported errors like “ocamlfind: not found”.

 

(I know how to compile it using oasis and ocamlbuild, but currently I prefer directly using Makefile in eclipse.)

 

Thanks

Yiming


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.