List Info

Thread: "ocaml_beginners"::[] OCaml on a Mac




"ocaml_beginners"::[] OCaml on a Mac
country flaguser name
United States
2007-02-16 15:42:38

Hi,

Do the OCaml compilers work as fine on Mac OS X as they do on Linux?

Thanks

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
United States
2007-02-16 15:47:43

On Feb 16, 2007, at 3:42 PM, drehman27 wrote:

> Hi,
>
> Do the OCaml compilers work as fine on Mac OS X as they do on Linux?
>
> Thanks
I have had no trouble with the OCaml compilers using both 32-bit and
64-bit versions on Mac OS X 10.4.8 PPC.

Alan

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
United States
2007-02-16 15:52:53

While we are on this subject, is anyone successfully using OCaml with
Cocoa?

On Feb 16, 2007, at 9:47 PM, Alan Mock wrote:

> I have had no trouble with the OCaml compilers using both 32-bit and
> 64-bit versions on Mac OS X 10.4.8 PPC.

--
http://wagerlabs.com/

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
Germany
2007-02-16 16:23:35

On Fri, Feb 16, 2007 at 09:42:38PM -0000, drehman27 wrote:
> Hi,
>
> Do the OCaml compilers work as fine on Mac OS X as they do on Linux?
>
[...]

I have OS-X 10.3.9 (Panther) on a G4 PowerBook and it compiles very fine.

With OCaml I had good experiences on x86 linux, on PoerBook G4 and on
Solaris. But on solaris it did not compile to 64 Bits even if it was a
64 Bit machine.

But compilation was without problems.

Regards,
Oliver

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
Germany
2007-02-16 16:27:23

On Fri, Feb 16, 2007 at 03:47:43PM -0600, Alan Mock wrote:
> On Feb 16, 2007, at 3:42 PM, drehman27 wrote:
>
> > Hi,
> >
>; > Do the OCaml compilers work as fine on Mac OS X as they do on Linux?
> >
>; > Thanks
> I have had no trouble with the OCaml compilers using both 32-bit and
> 64-bit versions on Mac OS X 10.4.8 PPC.
>;

Oh, you had tried it on a G5?

Does OCaml itself also compile as 64 Bit?

What does Sys.max_string_length
and Sys.max_array_length
and Sys.word_size
return on the G5 PPC?

Ciao,
Oliver

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
Germany
2007-02-16 16:29:30

Hello,

On Fri, Feb 16, 2007 at 09:52:53PM +0000, Joel Reymont wrote:
> While we are on this subject, is anyone successfully using OCaml with
> Cocoa?

I don't, but there are people who developed this:

http://www.cs.unm.edu/~wneumann/cococaml/

Ciao,
Oliver

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
United States
2007-02-16 16:39:52


On Feb 16, 2007, at 4:27 PM, Oliver Bandel wrote:

> On Fri, Feb 16, 2007 at 03:47:43PM -0600, Alan Mock wrote:
> > On Feb 16, 2007, at 3:42 PM, drehman27 wrote:
> >
>; > > Hi,
> > >
>; > > Do the OCaml compilers work as fine on Mac OS X as they do on
> Linux?
> > >
>; > > Thanks
> > I have had no trouble with the OCaml compilers using both 32-bit and
> > 64-bit versions on Mac OS X 10.4.8 PPC.
>; >
>;
> Oh, you had tried it on a G5?
>
> Does OCaml itself also compile as 64 Bit?
>;
> What does Sys.max_string_length
> and Sys.max_array_length
> and Sys.word_size
> return on the G5 PPC?
With the 64-bit version they return:

# Sys.max_string_length;;
- : int = 144115188075855863
# Sys.max_array_length;;
- : int = 18014398509481983
# Sys.word_size;;
- : int = 64
However, I had to manually edit a couple files because the configure
script didn't fix the size definitions in all the files. I haven't
had any problems with it but it's not the stock configuration.

Alan

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
Germany
2007-02-16 16:43:48

On Fri, Feb 16, 2007 at 04:39:52PM -0600, Alan Mock wrote:
>
> On Feb 16, 2007, at 4:27 PM, Oliver Bandel wrote:
>
> > On Fri, Feb 16, 2007 at 03:47:43PM -0600, Alan Mock wrote:
> > > On Feb 16, 2007, at 3:42 PM, drehman27 wrote:
> > >
>; > > > Hi,
> > > >
>; > > > Do the OCaml compilers work as fine on Mac OS X as they do on
> > Linux?
> > > >
>; > > > Thanks
> > > I have had no trouble with the OCaml compilers using both 32-bit and
> > > 64-bit versions on Mac OS X 10.4.8 PPC.
>; > >
>; >
>; > Oh, you had tried it on a G5?
> >
>; > Does OCaml itself also compile as 64 Bit?
>; >
>; > What does Sys.max_string_length
> > and Sys.max_array_length
> > and Sys.word_size
> > return on the G5 PPC?
>; With the 64-bit version they return:
>
> # Sys.max_string_length;;
> - : int = 144115188075855863
> # Sys.max_array_length;;
> - : int = 18014398509481983
> # Sys.word_size;;
> - : int = 64
> However, I had to manually edit a couple files because the configure
> script didn't fix the size definitions in all the files. I haven't
> had any problems with it but it's not the stock configuration.
>

could you make your changes public?

Maybe here or in the OCaml's Bug-Tracker?

The latter way aould be fine for the developer, so they can
fix the problems.

Thanks,
Oliver

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] OCaml on a Mac
country flaguser name
United States
2007-02-17 16:51:35


On Feb 16, 2007, at 4:43 PM, Oliver Bandel wrote:

> On Fri, Feb 16, 2007 at 04:39:52PM -0600, Alan Mock wrote:
> >
>; > On Feb 16, 2007, at 4:27 PM, Oliver Bandel wrote:
> >
>; > > On Fri, Feb 16, 2007 at 03:47:43PM -0600, Alan Mock wrote:
> > > > On Feb 16, 2007, at 3:42 PM, drehman27 wrote:
> > > >
>; > > > > Hi,
> > > > >
>; > > > > Do the OCaml compilers work as fine on Mac OS X as they do on
> > > Linux?
> > > > >
>; > > > > Thanks
> > > > I have had no trouble with the OCaml compilers using both 32-
> bit and
> > > > 64-bit versions on Mac OS X 10.4.8 PPC.
>; > > >
>; > >
>; > > Oh, you had tried it on a G5?
> > >
>; > > Does OCaml itself also compile as 64 Bit?
>; > >
>; > > What does Sys.max_string_length
> > > and Sys.max_array_length
> > > and Sys.word_size
> > > return on the G5 PPC?
>; > With the 64-bit version they return:
> >
>; > # Sys.max_string_length;;
> > - : int = 144115188075855863
> > # Sys.max_array_length;;
> > - : int = 18014398509481983
> > # Sys.word_size;;
> > - : int = 64
> > However, I had to manually edit a couple files because the configure
> > script didn't fix the size definitions in all the files. I haven't
> > had any problems with it but it's not the stock configuration.
> >
>;
> could you make your changes public?
>
> Maybe here or in the OCaml's Bug-Tracker?
>
> The latter way aould be fine for the developer, so they can
> fix the problems.
Unfortunately I cannot remember all of the changes I made to get it
to work. However, they were only configuration changes and it
appears that the latest cvs sources have all of those fixed. I just
grabbed the sources and all I had to do to get it to work was set
ccoption='gcc -m64' in the configure script and then build it. I
don't know what the status of the cvs sources is with regards to
stability and such, but if you want to try out OCaml on ppc64 then I
think that would be the best way.

Alan

__._,_.___
.

__,_._,___
"ocaml_beginners"::[] Re: OCaml on a Mac
country flaguser name
United States
2007-02-19 12:48:10

--- In ocaml_beginners%40yahoogroups.com">ocaml_beginnersyahoogroups.com, "drehman27" <drehman27...> wrote:
&gt;
> Hi,
>
> Do the OCaml compilers work as fine on Mac OS X as they do on Linux?
&gt;
> Thanks
&gt;

I have ocaml running on my macbook pro 17inch, intel c2d. I went to the ocaml website and
got the the latest binary for intel machines (http://caml.inria.fr/ocaml/release.en.html)
Everything works fine.

George

__._,_.___
.

__,_._,___
[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )