From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA01850 for caml-redistribution; Thu, 20 Nov 1997 09:07:57 +0100 (MET) 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 RAA20828 for ; Wed, 19 Nov 1997 17:42:31 +0100 (MET) Received: from postbox.dai.ed.ac.uk (postbox.dai.ed.ac.uk [129.215.41.196]) by nez-perce.inria.fr (8.8.7/8.8.5) with ESMTP id RAA01705 for ; Wed, 19 Nov 1997 17:42:28 +0100 (MET) Received: from saturn (saturn.dai.ed.ac.uk [129.215.41.26]) by postbox.dai.ed.ac.uk (8.8.7/8.8.7) with SMTP id QAA12978 for ; Wed, 19 Nov 1997 16:42:26 GMT Date: Wed, 19 Nov 1997 16:42:25 GMT Message-Id: <8448.199711191642@saturn> From: William Chesters To: caml-list@inria.fr Subject: Compiling native threads in ocaml 1.06 Sender: weis This was the first thing I did :), before I downloaded the docs, so I didn't realise there was a problem ... this works for me, on RedHat Linux 4.2 with Xavier's Linuxthreads 0.5: J'ai réussi (avant de lire les informations---donc, je n'ai pas su que il y aurait une problème ...) avec les commandes suivantes: ocamlopt.opt -output-obj \ -I /usr/local/packages/dist/ocaml-1.06/otherlibs/systhreads \ thread.cmx threadtest.ml gcc -o threadtest camlprog.o \ -L /usr/local/packages/dist/ocaml-1.06/otherlibs/systhreads -lthreadsnat \ -L /usr/local/packages/inst/ocaml-1.06/lib -lunix -lasmrun \ -lpthread -lm