For those interested,
on HP-UX, to get a program written in "C" to recognize C++ objects, the
c-program has to be linked with :
ON IA64 : -lCsup -lunwind
ON PA-RISC : cpprt0_stub.o, -lcl
--------------------------------
$ cat cpprt0_stub.s
.code
; stubs for static constructors in a.out
.export __StaticCtorTable_Start,data
.export __StaticCtorTable_End,data
__StaticCtorTable_Start
__StaticCtorTable_End
.data
; stubs for static constructors in a.out, compiled with +z/+Z
.export __ZStaticCtorTable_Start,data
.export __ZStaticCtorTable_End,data
__ZStaticCtorTable_Start
__ZStaticCtorTable_End
----------------------------------
$ cc -c +z cpprt0_stub.s
-Madhu
> -----Original Message-----
> From: John K.Sterling [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 07, 2002 4:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: compatibility with C++ modules
>
>
>
> On Friday, September 6, 2002, at 04:53 PM, Andy Cutright wrote:
>
> > hi,
> >
> > so could you possibly speak those unspeakable hacks you've made to
> > apache to run c++ modules on hp? we're trying to get a c++ module
> > linked into 2.0.39. any help would be appreciated. we can take this
> > particular aspect of the discussion out of this forum, if
> you'd > prefer,
> >
> >
>
> as mentioned earlier in the thread,
> http://sourceforge.net/projects/modcplusplus/ can be of some
> help. It
> allows you to simply compile your c++ handlers into a
> separate so that
> doesn't contain any apache module stuffs.... also has some example
> makefiles etc. which may help.
>
> sterling
>