<?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/11/b3c779c49bd7be546f1e9fe0756e7d3d"
  from="Dustin Sallings &lt;dustin@s...&gt;"
  author="Dustin Sallings"
  date="2003-11-07T00:54:24"
  subject="Fwd: [Caml-list] ocaml on SunOS 4.1.4."
  prev="2003/11/dc476b21502f19abf3cbe8dc40f256bb"
  next="2003/11/140c9fadd8e2355539503a016bc1e217"
  prev-thread="2003/11/dc476b21502f19abf3cbe8dc40f256bb"
  next-thread="2003/11/140c9fadd8e2355539503a016bc1e217"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Fwd: [Caml-list] ocaml on SunOS 4.1.4.">
<msg 
  url="2003/11/b3c779c49bd7be546f1e9fe0756e7d3d"
  from="Dustin Sallings &lt;dustin@s...&gt;"
  author="Dustin Sallings"
  date="2003-11-07T00:54:24"
  subject="Fwd: [Caml-list] ocaml on SunOS 4.1.4.">
</msg>
</thread>

<contents>

Begin forwarded message:

&gt; 	So I've managed to get 3.07+2 working on SunOS 4.1.4, but I've run 
&gt; into one small problem.  ocamlopt seems to be trying to link in 
&gt; something that doesn't work.
&gt;
&gt; bob:/tmp 115&gt; ocamlopt test.ml
&gt; collect2: ld returned 2 exit status
&gt; ld: Undefined symbol
&gt;    _raise
&gt; Error during linking

	If anyone's interested, this made it all work:

#define raise(a) kill(getpid(), a)

	My application is working beautifully natively compiled on SunOS 4.1.4 
(sun4c).  This includes a few libs I made as well as the zlib interface 
from ocamlplot.sourceforge.net (which meant I had to port bzip2 as 
well).

	I'm very happy with it.  If anyone wants bins, let me know.

-- 
Dustin Sallings

-------------------
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>

