Browse thread
Fwd: [Caml-list] ocaml on SunOS 4.1.4.
- Dustin Sallings
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dustin Sallings <dustin@s...> |
| Subject: | Fwd: [Caml-list] ocaml on SunOS 4.1.4. |
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