The incorrect assumption here is that you are building Parrot with the
same compiler and architecture (read: integer and pointer sizes) that Perl
was built with.  Specifically, it allows my perl (64-bit ints but
otherwise 32-bit) to build a full 64-bit Parrot under Solaris.  Maybe it
helps other mixed platforms too.

Index: Configure.pl
===================================================================
RCS file: /home/perlcvs/parrot/Configure.pl,v
retrieving revision 1.64
diff -u -r1.64 Configure.pl
--- Configure.pl        2 Jan 2002 13:51:36 -0000       1.64
+++ Configure.pl        2 Jan 2002 16:08:34 -0000
@@ -398,7 +398,7 @@
 foreach ('intvalsize', 'opcode_t_size') {
     my $which = $_ eq 'intvalsize' ? 'packtype_i' : 'packtype_op';
     my $format;
-    if (($] >= 5.006) && ($c{$_} == $c{longsize}) ) {
+    if (($] >= 5.006) && ($c{$_} == $c{longsize}) && ($c{$_} == $Config{longsize}) ) {
         $format = 'l!';
     }
     elsif ($c{$_} == 4) {


- D

<[EMAIL PROTECTED]>

Reply via email to