From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA29948; Wed, 29 May 2002 05:23:21 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA29965 for ; Wed, 29 May 2002 05:23:20 +0200 (MET DST) Received: from favie.faith.gr.jp (favie.faith.gr.jp [61.127.175.250]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g4T3NIT18191 for ; Wed, 29 May 2002 05:23:19 +0200 (MET DST) Received: from localhost (dhcp7.faith.gr.jp [192.168.1.17]) by favie.faith.gr.jp (8.9.3/8.9.3) with ESMTP id MAA03346; Wed, 29 May 2002 12:23:05 +0900 To: a_valverde@ctima.uma.es Cc: caml-list@inria.fr Subject: Re: [Caml-list] labltk and MacOS X In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20020529122259U.garrigue@kurims.kyoto-u.ac.jp> Date: Wed, 29 May 2002 12:22:59 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Agust=EDn Valverde Ramos > I want to use ocaml to create program for MacOS X in native mode and = > I am not using fink. I have no expirience with C, but I have followed = > the example in the ocaml-3.04 reference manual (section 17.8) to = > create a program in CLI mode and, additionally, I have achived to use = > the c library created with ocamlc in a ProjectBuilder program. > = > Now,... I want to use labltk! There is a 'native' version of Tcl/Tk fo= r macosx: > = > http://www.apple.com/downloads/macosx/unix_apps_utilities/tcltk.html > = > It contains the headers and the necesary frameworks (dynamic = > libraries). I have tried to recompile caml in order to generate the = > labltk libraries for this tcl/tk, but I have not been able. How can = > I to recompile just the labltk libraries? Is it possible to make this = > with a simple line of commands? Is it possible to write a small = > make-file for this simple purpose? I gave a try at it today, with the latest binary snapshot (TclTk-8.4a4-2= ), and the MacOSX port looks very much alpha quality. After a lot of tweaking, I could succeed in building an executable of ocamlbrowser without X11, and run it. However it looks stranges (menus are not menus but selectors), and doesn't work: I get lots of "SetFrontProcess failed" errors, and cannot do anything with the application. So, this doesn't look like it is going to be usable very soon. On the other hand, installing Xdarwin is easy, and then you can just use the standard Tcl/Tk, which works fine. I suppose this will be the supported way in ocaml for some time. Jacques Garrigue= ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners