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
[Caml-list] compiling under windows (Is there a list?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-21 (14:19)
From: Kontra, Gergely <kgergely@m...>
Subject: [Caml-list] compiling under windows (Is there a list?)

[If there is a separate list for compiling problem please let me know

I don't know how to build the mingw version under windows.
I prepare the files the way it is in the readme.win32 file, and I got
error message:

gcc -mno-cygwin -DIN_OCAMLRUN -DOCAML_STDLIB_DIR='"C:/ocamlmgw/lib"' -O
-Wall -Wno-unused -D_DLL -c prims.c mv prims.o prims.d.o gcc -mno-cygwin
-shared -o ocamlrun.dll -Wl,--out-implib,ocamlrun.a interp.d.o misc.d.o
stacks.d.o fix_code.d.o startup.d.o fail.d.o signals.d.o freelist.d.o
major_gc.d.o minor_gc.d.o memory.d.o alloc.d.o roots.d.o compare.d.o
ints.d.o floats.d.o str.d.o array.d.o io.d.o extern.d.o intern.d.o
hash.d.o sys.d.o meta.d.o parsing.d.o gc_ctrl.d.o terminfo.d.o md5.d.o
obj.d.o lexing.d.o win32.d.o printexc.d.o callback.d.o debugger.d.o
weak.d.o compact.d.o finalise.d.o custom.d.o backtrace.d.o globroots.d.o
dynlink.d.o prims.d.o Creating library file: ocamlrun.a
floats.d.o(.text+0x969):floats.c: undefined reference to `__fpclassify'
collect2: ld returned 1 exit status make[1]: *** [ocamlrun.dll] Error 1
make[1]: Leaving directory `/home/unknown/mingw/ocaml-3.05/byterun'
make: *** [coldstart] Error 2 

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email:,          |
|  URL:    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
Magyar php mirror es magyar php dokumentacio:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: