Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001303OCamlOCaml generalpublic2002-08-06 17:302002-08-08 11:29
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001303: build problem with cygwin + mingw 0.2-2
DescriptionFYI ocaml-3.05 does not build out of the box with the latest version of
mingw (0.2-2) bundled with cygwin.

The reason is that fpclassify was added to this version of mingw, but,
it was not put into the standard libraries; see

  http://sources.redhat.com/ml/cygwin-announce/2002-06/msg00009.html [^]

To get around this you need to add a -lmingwex flag when linking
ocamlrun.a. It suffices to do

  make -f Makefile.nt world BYTECCLIBS=-lmingwex

(I'm encountering other errors as well, but don't have time for further
debugging today...)


-Trevor

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001015)
administrator (administrator)
2002-08-07 10:16

Hi Trevor,

> The reason is that fpclassify was added to this version of mingw, but,
> it was not put into the standard libraries; see
> http://sources.redhat.com/ml/cygwin-announce/2002-06/msg00009.html [^]
> To get around this you need to add a -lmingwex flag when linking
> ocamlrun.a.

Thanks for the explanation. The problem was reported to us earlier,
but I didn't know about the mingwex library. For the time being, I've
fixed the problem by not calling fpclassify() under Mingw -- the OCaml
runtime contains its own implementation of fpclassify, which is used
when the C library doesn't provide it.

> (I'm encountering other errors as well, but don't have time for further
> debugging today...)

If you could report them by, say, tomorrow, that would be very useful,
since a 3.06 release is approaching.

Cheers,

- Xavier

(0001016)
administrator (administrator)
2002-08-08 11:29

Fixed in 3.06

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker