-----Original Message-----
From: Octavian Rasnita
Sent: Tuesday, June 24, 2014 2:28 AM
Do you know if that static Perl can be used if the entire directory is
moved on another path?
Seems ok to me after I moved it:
C:\Windows\System32>perl-static -le "print $^X;print for @INC"
C:\_64\moved\static_perl520_482\bin\perl-static.exe
C:/_64/moved/static_perl520_482/site/lib
C:/_64/moved/static_perl520_482/lib
.
Is that what you meant ?
There are, of course, then a number of incorrect Config settings - eg:
C:\Windows\System32>perl-static -MConfig -le "print $Config{installbin}"
c:\_64\static_perl520_482\bin
but that's no different to any other perl that gets moved.
The static-perl.exe does have a runtime dependency upon libgcc_s_sjlj-1.dll
and libstdc++-6.dll - hence kmx's recommendation that perl be built with
"-static-libgcc -static-libstdc++" (which I haven't tried).
Cheers,
Rob