caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Fwd: [Caml-list] ocaml on SunOS 4.1.4.
@ 2003-11-07  0:54 Dustin Sallings
  0 siblings, 0 replies; only message in thread
From: Dustin Sallings @ 2003-11-07  0:54 UTC (permalink / raw)
  To: Caml Mailing List


Begin forwarded message:

> 	So I've managed to get 3.07+2 working on SunOS 4.1.4, but I've run 
> into one small problem.  ocamlopt seems to be trying to link in 
> something that doesn't work.
>
> bob:/tmp 115> ocamlopt test.ml
> collect2: ld returned 2 exit status
> ld: Undefined symbol
>    _raise
> 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-07  0:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07  0:54 Fwd: [Caml-list] ocaml on SunOS 4.1.4 Dustin Sallings

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