From: Charles Neveu <neveu@artemis.arc.nasa.gov>
To: caml-list@inria.fr
Subject: Re: linking ocaml in multithreaded shared dll app
Date: Wed, 13 Dec 2000 19:53:21 -0800 [thread overview]
Message-ID: <3A384431.7B553F0C@artemis.arc.nasa.gov> (raw)
In-Reply-To: <000001c04a50$fbed35c0$b2328aa4@wfr01946>
Catching up on an old thread: I'm trying to link ocaml in an application
with another library (OpenInventor) which must be linked using the
multithreaded-DLL flavor of the runtime libraries. Ocaml must be linked
using the multithreaded-static library version of the runtime libs. The
OpenInventor vendor says an multithreaded-static version is not an
option.
So, is it possible to build the ocaml library multithreaded-DLL?
If not, where do I find DOSMAP.C? I've searched my CD's, harddrive and
the net...
Chas
> >
>
> There are several solutions :
> * if the source is available, build OpenInventor with /MT instead of /MD,
> and use static libs everywhere (including MFC)
> * split your program into several DLLs that uses different versions of
> the C runtime (Be careful with this !)
> * try to build OCaml with /MD, using DOSMAP.C from the CRT source if you
> need libunix.
>
> And some people from this mailing list will probably suggest better
> solutions !
>
> I hope this will help you.
>
> Lionel Fourquaux
--
Dr. Charles Frederick Neveu T: 650 604-2525
Autonomy and Robotics Group F: 650 604-4036
NASA Ames Research Center E: neveu@artemis.arc.nasa.gov
Mail Stop 269-4 W: http://img.arc.nasa.gov/~neveu
Moffett Field, CA 94035-1000
next prev parent reply other threads:[~2000-12-14 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-07 19:19 Charles Neveu
2000-11-09 13:28 ` Lionel Fourquaux
2000-11-10 2:37 ` Ken Wakita
2000-12-14 3:53 ` Charles Neveu [this message]
2000-12-14 18:51 ` Xavier Leroy
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=3A384431.7B553F0C@artemis.arc.nasa.gov \
--to=neveu@artemis.arc.nasa.gov \
--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