At 01:34 PM 5/17/2001 -0500, Craig A. Berry wrote:
>I've made some progress on this and now have a working miniperl.  The
>problem I'm running into now is how to get access to the layer
>functions declared in perliol.h from the extensions that need them.
>Specifically, Encode, PerlIO::Scalar, and PerlIO::Via all treat these
>layer functions as services provided by the core, but on VMS, the
>core does not make them visible to dynamically linked extensions.
>
>One way of changing that would be (I think) to include perliol.h from
>perl.h and change all the declarations in perliol.h from extern to
>EXT.  That would make the core dynamic library (pershr.exe shareable
>image) publish those functions as externally available entry points.

In one of the patches I sent off recently there's a change to gen_shrfls.pl 
that extracts the symbols for the options file from the object library, 
rather than parsing the preprocessed output of the compiler. You might want 
to snag that and see if a small change might do what you need. (Yeah, it's 
a lousy way to do it, but less lousy than the current way. Ultimately we 
should parse the symbol files, but not this week...)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to