[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Porters] perl internals as shared library?



On Tue, 20 Jul 1999, Kevin Walker wrote:

> Would it be possible to create a shared library which contains the 
> basic (non-Mac-specific) perl internals (things like 
> perl_construct(...), perl_parse(...), perl_call_argv(...), etc.)? 
> (This would be for use by C programs which want to embed a perl 
> interpreter.)
>
Yes.
 
> If so, does such a library already exist?
>
If you actually build perl you get one. I haven't actually built perl on
MacOS, nor have I looked at the build process in more than casual
interest, so I'm not sure at what point Macish stuff gets intermixed, but
in principle...
 
> If it doesn't already exist, would it be straightforward to create it?
>
Depends on your def'n of straightforward. You should look at the top-level
Makefile(s) in the MacPerl_Src distribution, and pick out the build
targets for the (reasonably) unsullied pure perl part. Trace the
prerequisites. If that looks OK to *you*, then it's "reasonable". :-)

Arved



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org