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 LAA29618; Sun, 14 Apr 2002 11:06:23 +0200 (MET DST) 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 LAA29951 for ; Sun, 14 Apr 2002 11:06:22 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from d8tv0m01.rdu.bellsouth.net (adsl-77-241-216.rdu.bellsouth.net [216.77.241.216]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3E96Lr25349 for ; Sun, 14 Apr 2002 11:06:21 +0200 (MET DST) Received: from d8tv0m01.rdu.bellsouth.net (sge@localhost [127.0.0.1]) by d8tv0m01.rdu.bellsouth.net (8.12.1/8.12.1) with ESMTP id g3E96KDm025518 for ; Sun, 14 Apr 2002 05:06:20 -0400 (EDT) Received: (from sge@localhost) by d8tv0m01.rdu.bellsouth.net (8.12.1/8.12.1/Submit) id g3E96K8A027236; Sun, 14 Apr 2002 05:06:20 -0400 (EDT) X-Authentication-Warning: d8tv0m01.rdu.bellsouth.net: sge set sender to sgelkins@bellsouth.net using -f To: caml-list@inria.fr Subject: Re: [Caml-list] toplevel with threads References: <87ads7ubr2.fsf@d8tv0m01.rdu.bellsouth.net> <20020414105943P.garrigue@kurims.kyoto-u.ac.jp> From: Steve Elkins Date: 14 Apr 2002 05:06:19 -0400 In-Reply-To: <20020414105943P.garrigue@kurims.kyoto-u.ac.jp> Message-ID: <87zo06sl84.fsf@d8tv0m01.rdu.bellsouth.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Jacques Garrigue writes: > Which architecture (OS) are you working with? > Since ocaml 3.04, you don't need to build custom toplevels on > architectures where dynamic loading is supported. sge:279$ uname -a OpenBSD d8tv0m01 3.0 GENERIC#94 i386 > $ ocaml > Objective Caml version 3.04 > > # #load"str.cma";; > # Str.regexp;; > - : string -> Str.regexp = sge:280$ ocaml Objective Caml version 3.04 # #load "str.cma";; Cannot load required shared library: dynamic loading not supported on this platform. > You need to add the +threads directory to your load path: > $ ./throcaml -I +threads sge:281$ ./throcaml -I +threads Objective Caml version 3.04 # Thread.create;; - : ('a -> 'b) -> 'a -> Thread.t = Apologies, I should've tried '-I +threads', I guess not needing it with 'ocamlc' threw me off the trail. Thanks for the tip. Steve ------------------- 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