conf/init/hints/msys.pl Configure::Data->set( ld => '$(PERL) /bin/perlld',
dynclasses/build.pl our $LD = qq[$(PERL) /bin/perlld];
test.pl our $LD = qq[$(PERL) /bin/perlld]; print "'$LD'\n"; our $LD = qw[$(PERL) /bin/perlld]; print "'$LD'\n"; test.pl output: '0PERL) /bin/perlld' '$(PERL) /bin/perlld'
MSYS build: CVS + dynclasses/build.pl hacks: our $LD = qq[/bin/perl /bin/perlld]; our $LIBPARROT = qq[../src/pmc.o ../src/extend.o ../src/string.o ../src/inter_run.o ../src/string_primitives.o /c/usr/lib/icu/lib/icudata.lib /c/usr/lib/icu/lib/icuuc.lib ../blib/lib/libparrot.a /mingw/lib/libwsock32.a];
Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/dynclass/foo.t 1 256 1 1 100.00% 1 t/dynclass/pybuiltin.t 5 1280 6 5 83.33% 1-2, 4-6 t/dynclass/pyclass.t 6 1536 6 6 100.00% 1-6 t/dynclass/pycomplex.t 1 256 1 1 100.00% 1 t/dynclass/pyfunc.t 4 1024 4 4 100.00% 1-4 t/dynclass/pyint.t 25 6400 25 25 100.00% 1-25 t/native_pbc/integer.t 1 256 1 1 100.00% 1 t/native_pbc/number.t 1 256 1 1 100.00% 1 t/op/spawnw.t 2 512 3 2 66.67% 2-3 t/pmc/objects.t 60 2 3.33% 53, 57 t/pmc/sys.t 1 256 1 1 100.00% 1 5 tests and 66 subtests skipped. Failed 11/139 test scripts, 92.09% okay. 49/2225 subtests failed, 97.80% okay.
mingw32-make + ActivePerl build: CVS + dynclasses/build.pl hack: our $LIBPARROT = qq[..\\src\\pmc.o etc.
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/dynclass/foo.t 1 256 1 1 100.00% 1 t/dynclass/pybuiltin.t 5 1280 6 5 83.33% 1-2 4-6 t/dynclass/pyclass.t 6 1536 6 6 100.00% 1-6 t/dynclass/pycomplex.t 1 256 1 1 100.00% 1 t/dynclass/pyfunc.t 4 1024 4 4 100.00% 1-4 t/dynclass/pyint.t 25 6400 25 25 100.00% 1-25 t/op/spawnw.t 2 512 3 2 66.67% 2-3 t/pmc/nci.t 51 13056 56 51 91.07% 1-10 12-52 t/pmc/sys.t 1 256 1 1 100.00% 1 5 tests and 66 subtests skipped. Failed 9/139 test scripts, 93.53% okay. 96/2225 subtests failed, 95.69% okay.
MSYS build: CVS + dynclasses/build.pl( our $LIBPARROT = ) + conf/init/hints/msys.pl changes:
ld => 'g++',
ld_load_flags => '-mdll -s ',
ld_share_flags => '-mdll -s ',
ldflags => '-s ',
Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/dynclass/foo.t 1 256 1 1 100.00% 1 t/dynclass/pybuiltin.t 5 1280 6 5 83.33% 1-2, 4-6 t/dynclass/pyclass.t 6 1536 6 6 100.00% 1-6 t/dynclass/pycomplex.t 1 256 1 1 100.00% 1 t/dynclass/pyfunc.t 4 1024 4 4 100.00% 1-4 t/dynclass/pyint.t 25 6400 25 25 100.00% 1-25 t/native_pbc/integer.t 1 256 1 1 100.00% 1 t/native_pbc/number.t 1 256 1 1 100.00% 1 t/op/spawnw.t 2 512 3 2 66.67% 2-3 t/pmc/nci.t 51 13056 56 51 91.07% 1-10, 12-52 t/pmc/objects.t 60 2 3.33% 53, 57 t/pmc/sys.t 1 256 1 1 100.00% 1 5 tests and 66 subtests skipped. Failed 12/139 test scripts, 91.37% okay. 100/2225 subtests failed, 95.51% okay.
S pozdravem Michal Jurosz