Hi Ben, 

> From: Ben Morrow [mailto:[email protected]] 
>       To be useful, this would need to be a 'Portable'-type perl. It
>       would also need to be able to work from a directory 
> with spaces in
>       its name. My intention was to start by unpicking the Perl::Dist
>       stuff to understand how it works, and then work out what is
>       currently possible and what isn't. 

>From what you've already wrote, I see you're targeting Win32.

Currently, perl on Win32 is already moveable - you can copy installed Perl into 
any directory, even with spaces within directory names, and it will run scripts 
just fine.

> 
>     - to extend pl2exe to allow it to create statically-linked
>       executables. My idea was to get around the dll-loading 
> problem by
>       building all the needed extensions statically, then including a
>       zip of the Perl code on the end of the exe the way PAR currently
>       does. It's easy to read Perl from there without unpacking it,
>       using PerlIO::subfile and the code from ex::lib::zip, 
> though there
>       are issues with taint mode.

building extensions statically is mostly done, some bits of it were done back 
then in 5.6.0-pre era, but they were not finished.
They are still not fully finished, although I did some touches in this.

All in all, this is p5p discussion - surely you will be warmly welcomed there 
with discussions on static linking on Win32 :)

All you're doing is very useful, I hope you'll think of non-win32 platforms 
also :)

BR,
Vadim.

Reply via email to