Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Re: findlib-0.8.1 and ocaml-3.07+beta1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-07-25 (00:27)
From: james woodyatt <jhw@w...>
Subject: [Caml-list] Re: findlib-0.8.1 and ocaml-3.07+beta1
On Thursday, Jul 24, 2003, at 06:38 US/Pacific, Gerd Stolpmann wrote:
> Am Don, 2003-07-24 um 08.29 schrieb james woodyatt:
>> I think there might be something bolluxed in findlib-0.8.1 with
>> ocaml-3.07+beta1.  I compiled and installed ocaml-3.07+beta1 on Mac OS
>> X 10.2.6 with December 2002 developer tools (gcc version 3.1 
>> 20020420),
>> and it seems to work fine.
>> But findlib-0.8.1 seems not to behave properly.
> Both problems are caused by an interface change in the module Arg. 
> [...]
> Here is a patch so the beta testers can continue. Apply it with
> patch -p0 <patch

Applying this patch works for me.

I ran into only two problems making my current project compile and work 
against the new beta1 version of ocaml-3.07:

+ The word 'parser' is a keyword again.  So I had to change the names 
of a class and some values to not conflict.

+ The ocamlmklib now makes dynamic libraries on Mac OS X, and that 
means I had to fix my build-and-install recipe to handle that fact.  
Figuring it out was a little tricky.  The error message "Error on 
dynamically loaded library: cannot access this bundle" is a little 
cryptic.  I had to change the source code to tell me which library 
before I could understand why its image wasn't being mapped.  I wasn't 
copying into its location next to libfoo.a, and fixing that 
made everything better.

By the way, HUGE PHAT PROPS to the Caml Team for some of the new 
language features, not to mention the dynamic linking love for Mac OS 
X.  I'm excited.  I'm specifically excited about the polymorphic 
generalization of covariant parts of expansive expressions.  Believe it 
or not.  I think it might simplify some of my code dramatically.

j h woodyatt <>
that's my village calling... no doubt, they want their idiot back.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: