Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] beginner's questions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: dmitry grebeniuk <gds@v...>
Subject: Re: [Caml-list] beginner's questions
On Sun, 29 Sep 2002, Hallvard Ystad wrote:

> ..or MinGW. I tried to compile ocaml with MinGW installed, and then got this error message (copied from console):
> C:\ocaml>make -f Makefile.nt world
> cd byterun ; make -f Makefile.nt all
> gcc -mno-cygwin -DIN_OCAMLRUN -DOCAML_STDLIB_DIR='"C:/ocamlmgw/lib"' -O -Wall -Wno-unused -D_DLL -c interp.c
> interp.c(215): jumptbl.h: No such file or directory
> make[1]: *** [interp.d.o] Error 1
> make: *** [coldstart] Error 2

  jumptbl.h is generated from existing files.  I made it "by hand":
cd byterun && make -f Makefile.nt jumptbl.h
  before running "make world".

  But real problems begin further, at Dynlink module (generally at first
module when exception End_of_file needs to be got from stdlib.cma).
I can't cite the exact error message, but ocamlc can't find "End_of_file"
exception in "stdlib.cma(Pervasives)".
  Really, any small test program, which requires End_of_file, can't be
compiled, and the problem is not in bad paths to library/compiler.

  I'm using mingw 2.0 (gcc 3.2, binutils 2.13).

  Where I'm wrong?

bye

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners