<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/e99830e14620d1d7fb16fb045d6406c6"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-21T01:22:49"
  subject="Re: [Caml-list] different arch."
  prev="2003/10/5cecffaedb9c138d0fc44ea5b5ad170f"
  next="2003/10/395a9d13766063bfb8e7d8934ad2ef7e"
  prev-in-thread="2003/10/7d51b2049a68a3e087eb3b3f7451afb7"
  next-in-thread="2003/10/2bab59b83e55438d077c5e7dfa642b85"
  prev-thread="2003/10/4fed50fb9f079a7d03f8390d9ea6a433"
  next-thread="2003/10/486acf652571889eddb2bd9834f62d74"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] different arch.">
<msg 
  url="2003/10/7d51b2049a68a3e087eb3b3f7451afb7"
  from="Vladimir Skokov &lt;jove@n...&gt;"
  author="Vladimir Skokov"
  date="2003-10-20T16:54:44"
  subject="[Caml-list] different arch.">
<msg 
  url="2003/10/e99830e14620d1d7fb16fb045d6406c6"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-21T01:22:49"
  subject="Re: [Caml-list] different arch.">
<msg 
  url="2003/10/2bab59b83e55438d077c5e7dfa642b85"
  from="Vladimir Skokov &lt;jove@n...&gt;"
  author="Vladimir Skokov"
  date="2003-10-21T04:18:30"
  subject="Re: [Caml-list] different arch.">
</msg>
</msg>
</msg>
</thread>

<contents>
From: Vladimir Skokov &lt;jove@newmail.ru&gt;

&gt; I have the following problem:
&gt; there is  ocaml compiler on the first machine (Linux, i386)
&gt; there is no ocaml compiler and there is no way to install it on the second 
&gt; machine (Irix, Silicon Graphics)
&gt; How can I run my ocaml program on the second machine? 
&gt; Of course, gcc is installed on both!

What do you mean by "no way to install it"?
Certainly ocaml can be installed on Irix, both bytecode and native
code working.
And you can of course install under your home directory.

Is it just that you have only limited space allowed?
For bytecode alone, a few megabytes should be sufficient.
If your program does not use any native libraries (unix, str,
caml/labltk, threads), another option is to compile it to bytecode
under linux, and only build the ocamlrun executable under Irix, since
it is only about 200k. The you can run your program with
   ocamlrun myprog
on the Irix machine.
You don't even need to extract the full distribution for that:
configure, config/*, byterun/* should suffice.

Jacques Garrigue

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

