From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA10709; Mon, 10 Feb 2003 13:35:45 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA10533 for ; Mon, 10 Feb 2003 13:35:44 +0100 (MET) Received: from host_3.tech.netcracker.com ([212.119.253.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1ACZgP26859 for ; Mon, 10 Feb 2003 13:35:43 +0100 (MET) Received: from ramodinov (h167 [212.119.253.167]) by host_3.tech.netcracker.com (8.9.3+Sun/8.9.1) with ESMTP id PAA12381; Mon, 10 Feb 2003 15:34:04 +0300 (MSK) From: "Alex Romadinoff" To: "'Simon Kirby'" , "'Karl Zilles'" Cc: Subject: RE: [Caml-list] configure failure under cygwin when compiling ocaml Date: Mon, 10 Feb 2003 15:39:37 +0300 Message-ID: <000d01c2d101$7b3b6de0$a7fd77d4@ramodinov> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal In-Reply-To: Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 -----Original Message----- From: Simon Kirby [mailto:simon@ling.ed.ac.uk] Sent: Monday, February 10, 2003 2:10 PM To: Karl Zilles Cc: caml-list@inria.fr Subject: Re: [Caml-list] configure failure under cygwin when compiling ocaml 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? Thanks! Simon 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. Perhaps > you could look into the big endian/little endian test that configure is > performing to see why it is getting so confused.) > > Karl > > > -- Simon Kirby Language Evolution and Computation Research Unit simon@ling.ed.ac.uk Theoretical and Applied Linguistics http://www.ling.ed.ac.uk/~simon/ University of Edinburgh ------------------- 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 ------------------- 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