in reply to compile one version for Several OS

It is possible to pack a single .par file that runs on multiple platforms, which may then be used with "parl" or "perl -MPAR=somefile.par". See this slide for how.

I agree that cross-packaging (just like cross-compiling) is a neat idea. How about dropping by The PAR Homepage and add it to FAQ, and/or submit an enhancement ticket to bug-par@rt.cpan.org?

Replies are listed 'Best First'.
Re: Re: compile one version for Several OS
by michaelg (Beadle) on Dec 08, 2003 at 09:24 UTC
    Hi,

    Thanks for the tip , but I'm not sure that all the machine that will run this applicaton will have installation of PAR . When I use pp , I get stand alone executable that work on every OS of the same type without the need of external tools, I would like to mainteain this ability

    Thanks in Advance
    michaelg
      Actually, with "pp --perlscript" (aka "pp -P"), you will not need PAR installed on those machines -- they just need to have the correct version of Perl installed.

      It is not possible to produce a .exe file runnable on Win32, while at same time being a valid Linux binary, as you suggests. At least, I don't know how -- suggestions welcome.