Compiling native threads in ocaml 1.06

From: William Chesters (
Date: Wed Nov 19 1997 - 17:42:25 MET

Date: Wed, 19 Nov 1997 16:42:25 GMT
Message-Id: <8448.199711191642@saturn>
From: William Chesters <>
Subject: Compiling native threads in ocaml 1.06

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 \

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

This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:12 MET