On Wed, 19 Mar 2003 22:57:25 +0800 Autrijus Tang <[EMAIL PROTECTED]> wrote:

> Mattia: This patch in PAR 0.66 is likely to apply to App::Packer as
> well; without it cygwin doesn't build.
  I had to apply a dfferent one, but it builds for me, now.

> Also -- had you tried doing anything like pp or p2e.pl on Cygwin?
  No, I tried it now.

> It seems that its .exe format doesn't like appending arbitary data after
> the executable:
  Cygwin executables are normal Win32 executables that happen to be linked
to cygwin1.dll.

>     % ./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?
  The only change I had to make is to replace various
C<return $foo if -f $foo> with C<return "$foo.exe" if -f "$foo.exe"; return
$foo if -f $foo>, because Cygwin stat() is succesful if you stat("foo") and
"foo.exe" exists, but then open() fails.

HTH
Mattia


Reply via email to