Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] configure failure under cygwin when compiling ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Karl Zilles <zilles@1...>
Subject: Re: [Caml-list] configure failure under cygwin when compiling ocaml
Alex Romadinoff wrote:
> It seams that you have broken cygwin\usr\include\sys\param.h
> 
> This file should contain lines like this:
> 
> /* All known win32 systems are little endian.  */
> #define BYTE_ORDER	LITTLE_ENDIAN
> 
> I've checked Cygnus CVS
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/s
> ys/?cvsroot=src and found that there are no either sys\param.h nor
> sys\types.h required to check endianess.  So configure willn't work on
> this version.
> 
> MinGW doesn't seam to have such a problem.
> 
> Alex

Cygwin distributes the version from

http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/sys/cygwin/sys/?cvsroot=src

This file hasn't changed in 22 months, and is included in the 
cygwin-1.3.19-1 distribution.  I've actually installed 1.3.19-1 from 
scratch and compiled ocaml successfully, so I know it does work.

(just to muddy the waters, Cygwin released 1.3.20 on Saturday)

Karl

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners