Mattia: This patch in PAR 0.66 is likely to apply to App::Packer as
well; without it cygwin doesn't build.

Also -- had you tried doing anything like pp or p2e.pl on Cygwin?
It seems that its .exe format doesn't like appending arbitary data after
the executable:

    % ./my.exe                              # Demopack
    Attempt to free unreferenced scalar.
    % ./a.exe                               # PAR
    (nothing happens)

Maybe we need some kind of platform-specific stubs like unzipsfx offers.
I wonder whether it's possible to piggyback on unzipsfx or UPX to solve
the cygwin portability problem; does anybody have clues in this area?

Thanks,
/Autrijus/

==== //member/autrijus/PAR/myldr/Makefile.PL#17 (ktext) ====

@@ -43,7 +43,7 @@
     $lddebug = $debug ? '-debug ' : '-release ';
     $warn = $debug ? '-W3' : '';
 } elsif ($cc =~ m/^gcc\b/ or ($cc =~ m/^cc\b/ and $gccversion)) {
-    $out = '-o ';
+    $out = '--output ';
     $ccdebug = $debug ? '-g ' : '';
     $lddebug = $debug ? '' : '-s ';
     $warn = $debug ? '-Wall -Wno-comments ' : '';

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to