Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001320OCaml~DO NOT USE (was: OCaml general)public2002-08-12 23:552002-08-19 10:46
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001320: Mingw compilation problems
DescriptionI would like to report 3 problems compiling ocaml for mingw.

1) It was necessary to add -lmingwex to the link line in some cases to resolve
the symbol __fpclassify

2) Problem in bignum

../../boot/ocamlrun ../../ocamlc -I ../../stdlib -I ../win32unix -c
File "bigarray.mli", line 384, characters 4-19:
Unbound type constructor Unix.file_descr
make[1]: *** [bigarray.cmi] Error 2

3) Problem in ocamldoc

../boot/ocamlrun ../ocamlc -warn-error A -pp "grep -v DEBUG" -I ../parsing -I
../utils -I ../typing -I ../driver -I ../bytecomp -I ../tools -I ../stdlib -I
../otherlibs/str -I ../otherlibs/dynlink -I ../otherlibs/win32unix -I
../otherlibs/num -I ../otherlibs/graph -I ../toplevel -c
File "C:\DOCUME~1\max\LOCALS~1\Temp\camlpp583ad4", line 263, characters 10-24:
Unbound value Unix.localtime
make[1]: *** [odoc_misc.cmo] Error 2
make[1]: Leaving directory `/tmp/ocaml-3.05/ocamldoc'
make: *** [ocamldoc.byte] Error 2

Unfortunately, I haven't learnt Caml yet, so I can't troubleshoot this myself.


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
administrator (administrator)
2002-08-19 10:45

> I would like to report 3 problems compiling ocaml for mingw.

I recently got a chance to test OCaml/mingw under Cygwin 1.3 and
observed the same problems. They are due to minor changes between
Cygwin 1.2 (what I used to do the mingw port) and 1.3.
They are fixed in 3.06.

- Xavier Leroy

administrator (administrator)
2002-08-19 10:46

Fixed 2002-08-05 by XL (see PR#1293,1298)

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker