caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Allsopp <dra-news@metastack.com>
To: Jean Krivine <jean.krivine@gmail.com>,
	"caml-list@yquem.inria.fr" <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] Compiling Windows native code
Date: Sun, 20 Feb 2011 22:13:46 +0000	[thread overview]
Message-ID: <E51C5B015DBD1348A1D85763337FB6D9490EF4B0@Remus.metastack.local> (raw)
In-Reply-To: <AANLkTinwLYD5r0FovZfK9FwkcmAt6D6makYS2S2ZbQEK@mail.gmail.com>

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

  reply	other threads:[~2011-02-20 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 10:40 Jean Krivine
2011-02-20 22:13 ` David Allsopp [this message]
2011-02-21  9:21   ` Jean Krivine
2011-02-21  9:59     ` David Allsopp
2011-02-21 10:47       ` Vũ Ngọc San
2011-02-21 11:08         ` jean.krivine
2011-02-24 13:43         ` Jean Krivine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E51C5B015DBD1348A1D85763337FB6D9490EF4B0@Remus.metastack.local \
    --to=dra-news@metastack.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=jean.krivine@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).