creating an executable

creating an executable

am 16.12.2007 18:55:04 von Octavian Rasnita

Hi,

If I have 2 perl programs that use a GUI library like WxPerl or Win32::GUI
that need loading some dlls, can I use perlapp to create 2 Windows
executables that share all those needed dlls?

I know only that I can use --xclude for sharing the perl58.dll file, but I
don't know how I could share all the needed dll files.

It would be helpful because if I would include those 2 (or more) programs in
the same installer, the installer program would be smaller.

Thank you.

Octavian

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: creating an executable

am 16.12.2007 20:31:59 von Jan Dubois

On Sun, 16 Dec 2007, Octavian Rasnita wrote:
> If I have 2 perl programs that use a GUI library like WxPerl or
> Win32::GUI that need loading some dlls, can I use perlapp to create 2
> Windows executables that share all those needed dlls?
>
> I know only that I can use --xclude for sharing the perl58.dll file,
> but I don't know how I could share all the needed dll files.
>
> It would be helpful because if I would include those 2 (or more)
> programs in the same installer, the installer program would be
> smaller.

Check out the --use, --shared, --scan and --runlib options, which
can be used to created shared libraries with PerlApp:

`perlapp --help use shared scan runlib`

Please ask on the PDK mailing list if you run into any problems, or
have additional questions.

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs