On 25 Aug 2002 at 19:28, Sean O'Rourke wrote: > On Mon, 26 Aug 2002, Markus Laire wrote: > > I tested than on Cygwin and imcc does compile, but I have some > > problems: > > > > If I compile imcc with 'make imcc', most perl6 tests will fail with > > error "readline() on closed filehandle P6C::TestCompiler::PASM at > > P6C/TestCompiler.pm line 55." > > "make imcc" only rebuilds imcc, while the default target also makes > libparrot.so. I suspect this is the problem, what with imcc needing > libparrot. > > > If I compile imcc with plain 'make' (which also remakes shared > > parrot), I get about 1000 lines "undefined reference to" warnings > > from core.ops, debug.ops, io.ops and rx.ops, > > Does the same thing happen when you do a "make shared" > in the base parrot directory?
"make shared" dies with 'missing .h files' "make && make shared" gives same "undefined reference to" warnings and then ends with "collect2: ld returned 1 exit status make: *** [blib/lib/libcore_prederef.so.0.0.7] Error 1" but imcc and perl works with same 35% tests failed. > > but perl6 works better with only 35% test failed and no > > readline-errors. > > Okay. I thought it did better on Windows. What does it say when > you run one or two of the failed tests individually? e.g. I just checked all failed tests. Worst problem seems to be that tests returns int/str instead of PerlInt/PerlString t/parser/apoc1.t 1 256 1 1 100.00% 1 t/parser/basic.t 18 4608 18 18 100.00% 1-18 t/parser/exe2.t 2 512 2 2 100.00% 1-2 t/parser/exe3.t 1 256 1 1 100.00% 1 t/parser/exe4.t 255 65280 1 1 100.00% 1 t/parser/similar.t 6 1536 6 6 100.00% 1-6 t/parser/speed.t 255 65280 3 3 100.00% 1-3 apoc1: Structures begin differing at: $got->[0]{P6C::prefix::args}{P6C::prefix::name} = Does not exist $expected->[0]{P6C::prefix::args}{P6C::prefix::name} = 'scalar' basic.{1-18}, exe2.{1-2}, exe3, similar.3 $got-> ... = 'int' $expected-> ... = 'PerlInt' similar.{4-6} $got-> ... = 'str' $expected-> ... = 'PerlString' similar.1 $got-> ... = undef $expected-> ... = Does not exist exe4, speed loops parser, no tests run! similar.2 could not parse program -- Markus Laire 'malaire' <[EMAIL PROTECTED]>