[omniORB] Should omniORBpy require a C++ python interpreter?

Bruce Visscher visschb@rjrt.com
Fri, 25 Feb 2000 14:07:27 -0500


Duncan,

Thanks for your answer.

Duncan Grisby wrote:
> If there are any platforms where there is no way of running static
> initialisers when libraries are dynamically loaded, the solution will
> be to build a python executable with the omniORB libraries linked into
> it, and a main() compiled with C++. That way, the C++ specification
> says the initialisers will be called. I'll be surprised if there are
> any modern platforms which require this.

I guess it depends on your definition of modern :-).

The particular platform I had in mind is OpenVMS.  It turns out that at the
moment there isn't any way to dynamically extend python on that platform, so it
would appear that this isn't a problem. (I think this is theoretically possible,
but Uwe Zessin, the maintainer of the VMS port hasn't implemented it.)  However,
I think that even if you build an interpreter that statically includes omniORB
that it might be necessary to compile and link the main with C++.  I'll
investigate.

>From what you've written it sounds like this might be a VMS specific problem.

Bruce Visscher