Version française
Home     About     Download     Resources     Contact us    
Browse thread
Native thread in O'Caml 1.06
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier Bouyssou <bouyssou@g...>
Subject: Native thread in O'Caml 1.06

I've a problem using threads with ocamlopt v 1.06.

ocamlopt doesn't know -thread option.

There is no native lib in $(LIBDIR)/threads :

( Makefile in otherlibs/systhreads)

--

install:
        cp libthreads.a $(LIBDIR)/libthreads.a
        if test -d $(LIBDIR)/threads; then :; else mkdir $(LIBDIR)/threads; fi
        cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi 
threads.c
ma stdlib.cma $(LIBDIR)/threads

installopt:

.SUFFIXES: .ml .mli .cmo .cmi .cmx

--

Olivier Bouyssou (F1NXH), Didactheque Regionale          bouyssou@didac-mip.fr
Universite Paul Sabatier 118, route de Narbonne           31062 TOULOUSE Cedex
Tel : +33.5.61.55.65.74                                Fax : +33.5.61.55.65.71