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

build problem with cygwin + mingw 0.2-2 #3507

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

build problem with cygwin + mingw 0.2-2 #3507

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

Comments

@vicuna
Copy link

vicuna commented Aug 6, 2002

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

Bug description

FYI 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

@vicuna
Copy link
Author

vicuna commented Aug 7, 2002

Comment author: administrator

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

@vicuna
Copy link
Author

vicuna commented Aug 8, 2002

Comment author: administrator

Fixed in 3.06

@vicuna vicuna closed this as completed Aug 8, 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