From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Krishna <krishnarules@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Running OCaml binaries compiled in another computer
Date: Wed, 20 May 2015 14:41:30 +0200 [thread overview]
Message-ID: <CAPFanBFJRdN7-mikmMvm5-M5DUJKtQ-AMJM9c4aWXPjJUQ4NCg@mail.gmail.com> (raw)
In-Reply-To: <CALQpsa9kp8GVyM=JD2O9=Pq3emvLnk_=6LSN40G4ybyJAHbT1g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]
If you don't use the compiler from the first-install location, you may be
able to use DESTDIR (
https://www.gnu.org/prep/standards/html_node/DESTDIR.html ). But proper
DESTDIR support was only added to the OCaml's build system for 4.02.0 (upon
request of François Bérenger) so it would not work for 4.01.
On Wed, May 20, 2015 at 2:33 PM, Krishna <krishnarules@gmail.com> wrote:
> Hi,
>
>
> I am trying to run the OCaml compiler libraries, from a different path
> from which it is installed in (I copy the binaries from its installed
> location, to a different system with the same specs).
>
>
> Someone else in my company, has done this for OCaml 3.10, by adding a
> shell script which exports OCAMLLIB to the current directory and calls
> ocamlrun. This shell script is called in the Makefile of stdlib, under
> camlheader camlheader_ur.
>
>
> I have invested time to get this working for OCaml 4.02.1 and OCaml 4.01.0
> to no avail. My question is, does anyone see more scope in this? That is,
> is it possible to get this done (with more effort), or is this a dead end?
>
>
>
> Regards,
> Krishna.
>
[-- Attachment #2: Type: text/html, Size: 1732 bytes --]
prev parent reply other threads:[~2015-05-20 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 12:33 Krishna
2015-05-20 12:41 ` Gabriel Scherer [this message]
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=CAPFanBFJRdN7-mikmMvm5-M5DUJKtQ-AMJM9c4aWXPjJUQ4NCg@mail.gmail.com \
--to=gabriel.scherer@gmail.com \
--cc=caml-list@inria.fr \
--cc=krishnarules@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