From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA05423 for caml-redistribution; Tue, 24 Jun 1997 13:09:58 +0200 (MET DST) 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 OAA05040 for ; Mon, 23 Jun 1997 14:21:45 +0200 (MET DST) Received: from mail.comlab.ox.ac.uk (root@mail.comlab.ox.ac.uk [163.1.27.1]) by nez-perce.inria.fr (8.8.5/8.7.3) with ESMTP id OAA15135 for ; Mon, 23 Jun 1997 14:21:41 +0200 (MET DST) Received: from clpc14 (clpc14.comlab.ox.ac.uk [163.1.27.54]) by mail.comlab.ox.ac.uk (1.0/8.7.1) with ESMTP id NAA11495 for ; Mon, 23 Jun 1997 13:21:40 +0100 (BST) Message-ID: <33AE6A66.BD4B1EF6@comlab.ox.ac.uk> Date: Mon, 23 Jun 1997 13:21:58 +0100 From: Andrew Stevens Organization: Oxford University Computing Laboratory X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: CAML list Subject: Problem with linking num libary under VC5.0 X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis I have been experimenting with OCaml under Windows NT. Using Visual C++ 5.0 I have been unable to build a top-level including the num library. The prescribed incantation fails with linker errors: ocamlmktop -custom -o uncaml.exe nums.cma %CAMLLIB%/libnums.lib LIBC.lib(crt0dat.obj) : error LNK2005: __cinit already defined in LIBCMT.lib(crt Error while building custom runtime system LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in LIBCMT.lib(crt0d at.obj) ... Presumably something has changed in the libraries between VC4.0 and VC5.0 that breaks libnums.lib. Curiously, the Unix lib links just fine. Can anyone suggest a work-around? Andrew -- PGP Public Key: finger: as@mercury.comlab.ox.ac.uk