On Thursday, January 24, 2013, Jason Barrett wrote: > > I change the exit expr to something other than 0 (e.g.: exit 1), the script > runs and sets the error level as expected. However, it will no > longer compile: > > >pp -o test4.exe -x test4.pl > Set up gcc environment - 3.4.5 (mingw-vista special r3) > SYSTEM ERROR in executing test4.pl: 256 at > C:/Perl/site/lib/Module/ScanDeps.pm line 1302. > What am I doing wrong? >
The option -x of pp runs your script once (to find more dependencies than with static analysis). When this run exits with failure, packing will stop. Cheers, Roderich