From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p1KMIZHG006971 for ; Sun, 20 Feb 2011 23:18:35 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuwBAKshYU1RZ90vkWdsb2JhbACmNBUBAQEBCQsKBxEDIbh4hV4EjBM X-IronPort-AV: E=Sophos;i="4.62,195,1297033200"; d="scan'208";a="76261736" Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]) by mail3-smtp-sop.national.inria.fr with ESMTP; 20 Feb 2011 23:18:30 +0100 Received: from aamtaout04-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 <20110220221829.MTZJ26766.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Sun, 20 Feb 2011 22:18:29 +0000 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20110220221829.YMUO25656.aamtaout04-winn.ispmail.ntl.com@romulus.metastack.com>; Sun, 20 Feb 2011 22:18:29 +0000 Received: from remus.metastack.local ([172.16.0.1]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id p1KMIOYp009792 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 20 Feb 2011 22:18:25 GMT Received: from Remus.metastack.local ([fe80::547c:3c42:e1da:eda2]) by Remus.metastack.local ([fe80::547c:3c42:e1da:eda2%11]) with mapi; Sun, 20 Feb 2011 22:13:46 +0000 From: David Allsopp To: Jean Krivine , "caml-list@yquem.inria.fr" Thread-Topic: [Caml-list] Compiling Windows native code Thread-Index: AQHL0OoNuxCVeFb6bk2quzR4B/jyxZQK85Wi Date: Sun, 20 Feb 2011 22:13:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=QB_D34dBbOkA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=SO2bcOF0XMxXd_QmFfIA:9 a=yv9klzFemaz50ef4sKoA:7 a=NVx4xCgER3xN7X3vib8uY46j554A:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p1KMIZHG006971 Subject: RE: [Caml-list] Compiling Windows native code Jean Krivine wrote: > I am trying to produce windows native code for windows, to do so I > have followed the instructions I found on different sources I am almost > done but I get one last error during linking: Which sources? > ** Fatal error: cannot find file "OLDNAMES" > > File "caml_startup", Line 1, character 0-1 > > Error: Error during linking What command have you run to get this error? > I am using windows 7 and MinGW + Windows SDK 6.2 (to get uuid.lib) > + masm32 (to have ml.exe) Are you compiling OCaml from sources or using a pre-packaged version (and if so, which version of OCaml and which port). It's odd that you're referring to Windows 7 + MinGW - if you're building for the MS toolchain, then you should be using Cygwin but I wonder if that's just that you've called it by the wrong name (equally, I've got a feeling that building with MSYS now works, but I think that compiling under Cygwin is still the "official" method). I haven't done an MS toolchain build of OCaml for a while, but I'm reasonably sure that when I last used it, the Windows Server 2008 SDK contains both the 32 and 64 bit assembler (no need to download masm separately any more for 32 bit builds). David