Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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?



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

Fatal error: uncaught exception Sys_error("Invalid argument")