caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Pang, Wai (CA-CIB)" <Wai.Pang@ca-cib.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] Circular dependency between Ocaml and FlexDLL
Date: Tue, 29 Mar 2016 12:10:47 +0000	[thread overview]
Message-ID: <8A030C723E87D24B90827AE8C57403011F2DE5B7@EMMXPA023.emea.cib> (raw)

[-- Attachment #1: Type: text/plain, Size: 2631 bytes --]

Hi All,

I am trying to build the latest version of Ocaml and FlexDLL on windows using msvc toolchain.
There appears to be a circular dependencies on these two packages.

OCaml build required Flexdll as specified  in the README.win32 file

set FLEXDLLDIR=%PFPATH%\flexdll

And the FlexDLL build requires ocamlopt from the ocaml package to build flexlink.exe

ocamlopt -g -w -105 -o flexlink.exe -cclib "-link version.res" version.ml coff.ml cmdline.ml create_dll.ml reloc.ml

How do we compile ocaml if we don't have binary of flexlink? Also are they really completely backwards compatible so that we can use
"any" older version of flexlink to compile the latest ocaml package to produce ocamlopt and then use ocamlopt to build the latest version of flexlink?
Do we than recompile ocaml package to use the newly build flexlink?

We have an old version of ocaml packages which is independent of flexlink 3.10. Can we use this version to compile the latest version of flexlink and then use this to compile a newer version of ocaml?

Wai
This email does not create a legal relationship between any member of the Crédit Agricole group and the recipient or constitute investment advice. The content of this email (including any attachments) is intended solely for the addressee and access by any other person is not authorised. It may contain information which is confidential, privileged or otherwise protected from disclosure. If you are not the intended recipient of this email, (i) you should send it back to us and delete it from your system, and (ii) you are prohibited from retaining, distributing, disclosing or using (in whole or part) any of its content. Email communication may be logged and archived, monitored and/or disclosed to third parties.

Crédit Agricole Corporate and Investment Bank is authorised by the Autorité de Contrôle Prudentiel et de Résolution (ACPR) and supervised by the ACPR and the Autorité des Marchés Financiers (AMF) in France and subject to limited regulation by the Financial Conduct Authority and the Prudential Regulation Authority. Details about the extent of our regulation by the Financial Conduct Authority and the Prudential Regulation Authority are available from us on request. Crédit Agricole Corporate and Investment Bank is incorporated in France with limited liability and registered in England and Wales. Registration number: FC008194. Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA
Please refer to http://www.ca-cib.com/group-overview/dodd-frank-otc-derivatives.htm for any Dodd-Frank Disclosure for U.S. Persons pursuant to CFTC Regulation 23.431

[-- Attachment #2: Type: text/html, Size: 7016 bytes --]

             reply	other threads:[~2016-03-29 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 12:10 Pang, Wai (CA-CIB) [this message]
2016-03-29 13:26 ` David Allsopp
2016-03-31  7:36   ` Pang, Wai (CA-CIB)
2016-04-01  8:37     ` David Allsopp

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=8A030C723E87D24B90827AE8C57403011F2DE5B7@EMMXPA023.emea.cib \
    --to=wai.pang@ca-cib.com \
    --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;
as well as URLs for NNTP newsgroup(s).