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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 5E9D5BC0A for ; Wed, 6 Jun 2007 19:11:46 +0200 (CEST) Received: from sys22.mail.msu.edu (sys22.mail.msu.edu [35.9.75.122]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l56HBifr025056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 6 Jun 2007 19:11:46 +0200 Received: from c-24-56-235-180.chrlmi.cablespeed.com ([24.56.235.180] helo=gft) by sys22.mail.msu.edu with esmtpsa (Exim 4.63 #1) (TLSv1:RC4-MD5:128) id 1Hvz2t-0003Na-Q5 for caml-list@yquem.inria.fr; Wed, 06 Jun 2007 13:11:44 -0400 Message-ID: <000301c7a853$559616c0$6701a8c0@gft> From: "Jeff Shaw" To: References: <20070606152630.9359EBC74@yquem.inria.fr> Subject: Re: OSX GUI Date: Wed, 6 Jun 2007 11:57:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus: None found by Clam AV X-Miltered: at discorde with ID 4666EAD0.003 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; osx:01 macos:01 labltk:01 lablgtk:01 lablgtk:01 gtk:01 emacs:01 tuareg:01 ocaml:01 macos:01 ocaml:01 labltk:01 uninstall:01 uninstall:01 widgets:01 For now the easiest way to make a GUI on macos x in caml is labltk. The other option is Lablgtk, but you have to run lablgtk applications in the X11 server until GTK is ported to use mac-native widgets. As for coding caml on macs, it's great. I use aquamacs emacs with the tuareg mode installed. I'd rather code on a desktop but if you want a small laptop, a mac is great. Installing ocaml on macos: install macports open terminal sudo port install ocaml +labltk (ifyou need lablgtk2) sudo port install lablgtk2 Macport's version of tk doesn't give native widgets (whereas the built-in distribution does), so then I do sudo port -f uninstall tk sudo port -f uninstall tcl And if you don't like the mac keyboard's placement of the alt key, the keyboard control panel lets you swap the alt and apple keys.