How do you create a .exe file on Win32 which contains the perl dll?

If I simply create the obvious "Hello, world." program in test.pl and 
then run

    pp -o test.exe test.pl

then I find that the resulting test.exe can't be run on a system without 
perl installed because it requires the perl58.dll.

I tried adding the dll using

    pp -o test.exe -l C:\perl5\bin\perl58.dll test.pl

or

    pp -o test.exe -a C:\perl5\bin\perl58.dll test.pl

but the dll still can't be found.

I logged this on CPAN/RT some time ago (ticket 7829), but have had no reply.

It seems like a rather fundamental error to me.  Surely this needs fixing?

- Steve


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to