caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Ocaml, MacOSX and GUIs
@ 2006-07-14  1:46 Erik de Castro Lopo
  2006-07-14  9:32 ` [Caml-list] " Xavier Leroy
  0 siblings, 1 reply; 4+ messages in thread
From: Erik de Castro Lopo @ 2006-07-14  1:46 UTC (permalink / raw)
  To: caml-list

Hi all,

I'm about to do some coding which needs to be cross platform 
(windows Linux and MaxOSX), requires a simple GYI and needs to
be reasonably easy to install the resulting executable. For my
favourite platform, Linux, this is a done deal. Thanks!

On windows I will probably choose the MinGW based environment. 
For Mac, I notice that there is a pre-compiled Mac binaries for 
the compiler:

    http://caml.inria.fr/distrib/ocaml-3.09/ocaml-3.09.0.dmg

I presume that these are PowerPC binaries. Is that correct? Is
there likely to be a version soon targetting the Intel CPU soon?

So, on to GUIs. My GUI requirements are rather simple. In fact 
the lablTk libraries should do the trick. Has anyone actually 
done any Ocaml development with a lablTk GUI targeting all three 
platforms? If so, how did it work out?

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
I'd rather not work with people who aren't careful. It's darwinism in
software development.
	Linus Torvalds on the linux-kernel list


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Ocaml, MacOSX and GUIs
  2006-07-14  1:46 Ocaml, MacOSX and GUIs Erik de Castro Lopo
@ 2006-07-14  9:32 ` Xavier Leroy
  2006-07-14 10:16   ` Jacques Garrigue
  0 siblings, 1 reply; 4+ messages in thread
From: Xavier Leroy @ 2006-07-14  9:32 UTC (permalink / raw)
  To: Erik de Castro Lopo; +Cc: caml-list

> For Mac, I notice that there is a pre-compiled Mac binaries for
> the compiler:
>     http://caml.inria.fr/distrib/ocaml-3.09/ocaml-3.09.0.dmg
> I presume that these are PowerPC binaries. Is that correct?

Yes.

> Is there likely to be a version soon targetting the Intel CPU soon?

The source distribution for 3.09.2 contains full support for MacOSX/Intel,
including native-code generation.  There are still a few small
ocamlopt bugs in this port, which I'm currently ironing out.

> So, on to GUIs. My GUI requirements are rather simple. In fact
> the lablTk libraries should do the trick. Has anyone actually
> done any Ocaml development with a lablTk GUI targeting all three
> platforms? If so, how did it work out?

In the standard distribution, there's ocamlbrowser, which has a
labltk-based GUI and works on all three platforms.

- Xavier Leroy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Ocaml, MacOSX and GUIs
  2006-07-14  9:32 ` [Caml-list] " Xavier Leroy
@ 2006-07-14 10:16   ` Jacques Garrigue
  2006-07-14 10:22     ` Janne Hellsten
  0 siblings, 1 reply; 4+ messages in thread
From: Jacques Garrigue @ 2006-07-14 10:16 UTC (permalink / raw)
  To: Xavier.Leroy; +Cc: mle+ocaml, caml-list

> > So, on to GUIs. My GUI requirements are rather simple. In fact
> > the lablTk libraries should do the trick. Has anyone actually
> > done any Ocaml development with a lablTk GUI targeting all three
> > platforms? If so, how did it work out?
> 
> In the standard distribution, there's ocamlbrowser, which has a
> labltk-based GUI and works on all three platforms.

Unfortunately, on MacOSX ocamlbrowser only works properly with the X11
version of Tk (which is very easy to install.)
I tried several times to make it work with the Aqua version, but was
never completely successful.

Most other LablTk programs seem to work properly with the Aqua version
of Tk, so YMMV.

   Jacques


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: [Caml-list] Ocaml, MacOSX and GUIs
  2006-07-14 10:16   ` Jacques Garrigue
@ 2006-07-14 10:22     ` Janne Hellsten
  0 siblings, 0 replies; 4+ messages in thread
From: Janne Hellsten @ 2006-07-14 10:22 UTC (permalink / raw)
  To: caml-list

> Unfortunately, on MacOSX ocamlbrowser only works properly with the X11
> version of Tk (which is very easy to install.)
> I tried several times to make it work with the Aqua version, but was
> never completely successful.

I tried compiling ocamlbrowser directly from GODI and it worked out of
the box on my MacBook Pro.  AFAIK this was using the Aqua version --
at least it didn't launch X11 like all the other X11 apps do.

Janne


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-14 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14  1:46 Ocaml, MacOSX and GUIs Erik de Castro Lopo
2006-07-14  9:32 ` [Caml-list] " Xavier Leroy
2006-07-14 10:16   ` Jacques Garrigue
2006-07-14 10:22     ` Janne Hellsten

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).