Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Linking camlidl stub code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 Archives:
Bug reports: FAQ:
Beginner's list: