Version française
Home     About     Download     Resources     Contact us    
Browse thread
Toplevel customisation with NT
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andrew Telford <ajt@r...>
Subject: Toplevel customisation with NT

I can't work out how to create a custom toplevel with both
Unix and Threads under NT.  (I did manage to get the
Unix module added to a toplevel by following the instructions
in the manual.)  Does anyone have the correct incantation?
Is it possible to have these two modules included under NT?
Why aren't they available in the default ocaml.exe?

Cheers,

Andrew

P.S. Here is what happened..

E:\bin\ocaml\bin>ocamlmktop  -thread -custom  -o ocamlall.exe    unix.cma\
threads.cma %CAMLLIB%/libunix.lib %CAMLLIB%/libthreads.lib wsock32.lib
camlprim0.c

E:\bin\ocaml\bin>ocamlall
Fatal error: uncaught exception Sys_error("Invalid argument")