From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id D497DBB84 for ; Mon, 26 Jan 2009 18:22:39 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUCANF/fUlRZ90vlGdsb2JhbACNX4YfAQEBAQkLCAkRtTCFSw X-IronPort-AV: E=Sophos;i="4.37,326,1231110000"; d="scan'208";a="23090356" Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]) by mail1-smtp-roc.national.inria.fr with ESMTP; 26 Jan 2009 18:22:39 +0100 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090126172238.PPUA2989.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Mon, 26 Jan 2009 17:22:38 +0000 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090126172238.WQEH21638.aamtaout02-winn.ispmail.ntl.com@romulus.metastack.com> for ; Mon, 26 Jan 2009 17:22:38 +0000 Received: from Countertenor ([172.16.0.6]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id n0QHMZ6e014787 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 26 Jan 2009 17:22:36 GMT From: "David Allsopp" To: References: <497DE55A.2040104@mcmaster.ca> In-Reply-To: <497DE55A.2040104@mcmaster.ca> Subject: RE: [Caml-list] ocaml 3.11, Vista 64/cygwin/gcc4 Date: Mon, 26 Jan 2009 17:22:29 -0000 Organization: MetaStack Solutions Ltd. Message-ID: <003a01c97fda$ab27f350$0177d9f0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acl/05+lOYVznM9eRc2lADHVQO5lpgABjJCA Content-Language: en-gb X-Scanned-By: MIMEDefang 2.64 on 81.102.132.74 X-Cloudmark-Analysis: v=1.0 c=1 a=bUn1I3dUb9cA:10 a=gdaXPbYrLv0A:10 a=uUHbt5414-ab3NVfIJIA:9 a=7omv_ov6MXSFEOo0oc1w2gGBaa8A:4 a=Mz_smNXqyOQA:10 X-Spam: no; 0.00; ocaml:01 cygwin:01 gcc:01 cygwin:01 gcc:01 compilation:01 byterun:01 interp:01 ocaml:01 mingw:01 ubuntu:98 wrote:01 compile:01 msvc:01 caml-list:01 Jacques Carette wrote: > > Has anyone managed to compile 3.11 on Vista 64 under cygwin using gcc4 > > [and without flexlink]? Is that possible? I believe that flexlink is needed for all Windows ports (Cygwin included - as in README.win32) as it's used internally to simplify linking even when creating Cygwin executables. > Compilation of byterun/interp.c fails miserably, with most _caml_ > symbols returning 'undefined reference's. So that could be related to the above? > Strangely, configure thinks that my system is 32 bits, which is quite > possibly another source of problems. Cygwin is 32 bit - so this is entirely correct. When you run Cygwin's bash, you're in the WOW subsystem and will so the architecture will report itself as 32-bit (if you look in task manager then you'll see that bash.exe is starred). > > Jacques > > PS: I'll soon enough install some flavour of Ubuntu on this machine > too, > which should fix my problems. But in the meantime, I would still like > to be able to keep on working! I imagine that there's a reason that you're both building your own OCaml and also using the Cygwin port specifically but just in case: the MinGW and MSVC64 builds both definitely work on Vista64... David