C bindings for OmniORB?

Miguel de Icaza miguel@nuclecu.unam.mx
Fri, 9 Jan 1998 13:53:53 -0600


Hello guys,

   We need a CORBA engine for the gnome project (www.gnome.org, gpl
user interface stuff) and we are basically shopping for an ORB now.
We had considered ILU in the past, but due to a license clash with the
GPL, we can not use it.

   We need at least C CORBA bindings and at this point none of our
choices support this (omniorb, mico nor arachne).  So, I am interested
in adding this support to one of those ORBs, and I would like to know
how hard this task would be or if anyone is working on such a thing. 

   A possible plan would be to make the C code generation backend
create C++ code that would export to C, like:

CORBA_thingie_method (CORBA_object *obj, parameters, CORBA_env *e)
{
    thingie *t = (thingie) obj;

    return t->method (parameters);
}

[ie, among those lines, give and take :-)] 

   I dont mind having a C++ support library nor having my stubbers
using C++ and just presenting the C interface for the bindings.

   Any ideas on this?

Miguel.