Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001320OCamlOCaml generalpublic2002-08-12 23:552002-08-19 10:46
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
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
bigarray.mli
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 odoc_misc.ml
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.

Max.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001027)
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

(0001028)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker