On Wed, Mar 6, 2013 at 2:48 AM, Roderich Schupp wrote: > Why do you want to use PAR::Packer on Cygwin at all? > If you just want to create a standalone executable from a Perl application: > Are you aware that the resulting executable still needs a Cygwin > environment to run? > > Now for your current problem with > >> windres -i winres\pp.rc -o ppresource.coff --input-format=rc >> --output-format=coff --target=pe-i386 > > Find this line in myldr/Makefile and change the backslash in > "winres\pp.rc" to a forward slash, then > retry "make". > > Note that I haven't tried building PAR::Packer on Cygwin in ages, so > no guarantee that this will be > the last of your problems (or whether it will work at all).
prerequisite ExtUtils::MakeMaker 6.59 is best ignored - it would overwrite special cygwin rebase handling, and is not needed. PAR-1.007 tested ok PAR-Packer-1.013: windres -F pei-i386 -i winres/pp.rc -o winres/pp.res windres -o ppresource.coff winres/pp.res windres: unexpected version string length 68 != 32 + 8 That's a known mingw/cygwin binutils bug, and should be not fatal. The resource can be purely optional. Patch attached: -- Reini Urban cygwin perl maintainer
PAR-Packer-1.013.patch
Description: Binary data