Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: james woodyatt <jhw@wetware.com>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: The Trade <caml-list@inria.fr>
Subject: [Caml-list] Re: findlib-0.8.1 and ocaml-3.07+beta1
Date: Thu, 24 Jul 2003 17:27:38 -0700	[thread overview]
Message-ID: <CBE74969-BE36-11D7-B682-000393BA7EBA@wetware.com> (raw)
In-Reply-To: <1059053910.4721.22.camel@athene>

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 dllfoo.so 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 <jhw@wetware.com>
that's my village calling... no doubt, they want their idiot back.

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


       reply	other threads:[~2003-07-25  0:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1059053910.4721.22.camel@athene>
2003-07-25  0:27 ` james woodyatt [this message]
2003-07-25  1:28   ` Karl Zilles
2003-07-25  1:52     ` james woodyatt
2003-07-25 16:27   ` pjd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CBE74969-BE36-11D7-B682-000393BA7EBA@wetware.com \
    --to=jhw@wetware.com \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox