[
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: | Florian Hars <florian@h...> |
| Subject: | Re: [Caml-list] Linking camlidl stub code |
Florian Hars wrote: > My remainig problem is how to link my programs with the generated stub > code. To answer my own questions: Don't trust OcamlMakefile (at lest not the version from march 2001) to handle all the IDL stuff. If I compile all my C stub code files (the libfoo library I want to interface to has several related, but technically independent subsets of its API which I want to put in different modules) and put them into a libfoostubs.a, I can then compile the Ocaml side of then stub code with -cclib foostubs -cclib foo -cclib camlidl into a cm(x)a, and things work. Phew.... Yours, Florian. ------------------- 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