Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Andrew Stevens <Andrew.Stevens@comlab.ox.ac.uk>
To: CAML list <caml-list@inria.fr>
Subject: Problem with linking num libary under VC5.0
Date: Mon, 23 Jun 1997 13:21:58 +0100	[thread overview]
Message-ID: <33AE6A66.BD4B1EF6@comlab.ox.ac.uk> (raw)

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





                 reply	other threads:[~1997-06-24 11:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=33AE6A66.BD4B1EF6@comlab.ox.ac.uk \
    --to=andrew.stevens@comlab.ox.ac.uk \
    --cc=caml-list@inria.fr \
    /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