Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mingw compilation problems #3524

Closed
vicuna opened this issue Aug 12, 2002 · 2 comments
Closed

Mingw compilation problems #3524

vicuna opened this issue Aug 12, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 12, 2002

Original bug ID: 1320
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

I 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

  1. 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:\DOCUME1\max\LOCALS1\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.

@vicuna
Copy link
Author

vicuna commented Aug 19, 2002

Comment author: administrator

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

@vicuna
Copy link
Author

vicuna commented Aug 19, 2002

Comment author: administrator

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

@vicuna vicuna closed this as completed Aug 19, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant