Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-02-10 (12:35)
From: Alex Romadinoff <alexeyr@N...>
Subject: RE: [Caml-list] configure failure under cygwin when compiling ocaml
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.  */

I've checked Cygnus CVS
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.


-----Original Message-----
From: Simon Kirby [] 
Sent: Monday, February 10, 2003 2:10 PM
To: Karl Zilles
Subject: Re: [Caml-list] configure failure under cygwin when compiling

Hmmm... well spotted! There is definitely something going badly wrong 
with the configure script. Not sure quite what to do - I manage to get 
an older install of cygwin off another machine and it compiled OK - but 
got an error on first running about "pervasives.mli". 
Not sure what to do next - at the moment, I'm sticking with the native 
windows port, but since I don't have VC++ I can't compile optimised 
code, which is a pain. 
Has anyone else had configure errors under the latest cygwin? Can anyone

test this? 
On Fri, 7 Feb 2003, Karl Zilles wrote: 
> Simon Kirby wrote: 
>  > I've used Ocaml happily under cygwin before, but just bought a new 
> machine and installed the latest cygwin (1.3.19-1) and latest ocaml 
> sources (3.06). I can't even run ./configure without an error: 
>  > 
>  > Configuring for a i686-pc-cygwin ... 
>  > gcc found 
>  > The C compiler is ANSI-compliant. 
>  > Checking the sizes of integers and pointers... 
>  > OK, this is a regular 32 bit architecture. 
>  > 64-bit "long long" integer type found (printf with "%ll"). 
>  > This is a big-endian architecture. 
> Configure thinks your machine is big-endian?  What exactly do you have

> Cygwin installed on? :)  PCs are little endian. 
> (This is where my configure output begins to differ from yours. 
> you could look into the big endian/little endian test that configure
> performing to see why it is getting so confused.) 
> Karl 
Simon Kirby              Language Evolution and Computation Research
Unit                   Theoretical and Applied
Linguistics                  University of
To unsubscribe, mail Archives: 
Bug reports: FAQ: 
Beginner's list: 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: