I've applied the following little patch which is required for those using
Sun's assembler. It helps the make process a bit further along.
I still get core dumps for test_parrot -j. It might have to do
with my 64-bit perl, but I don't have time to investigate. This patch at
least let the compilation get further.
diff -r -u parrot-orig/lib/Parrot/Jit/sun4Generic.pm
parrot-andy/lib/Parrot/Jit/sun4Generic.pm
--- parrot-orig/lib/Parrot/Jit/sun4Generic.pm Thu Jan 31 11:08:21 2002
+++ parrot-andy/lib/Parrot/Jit/sun4Generic.pm Mon Feb 4 12:08:54 2002
@@ -75,7 +75,7 @@
sub Fix_cpcf_call() {
# return value from function cur_opcode in %o0, jump to *cur_opcode, which
# has been modified by jit to contain corresponding jit code
- return Parrot::Jit->Assemble("ld [\%o0], \%o0\njmpl \%o0, \%g0\n");
+ return Parrot::Jit->Assemble("ld [\%o0], \%o0\njmpl \%o0, \%g0\nnop\n");
}
sub Assemble($) {
@@ -148,7 +148,7 @@
print $out <<'END';
.globl main
- .type main,@function
+ .type main,#function
main:
END
print $out $code;
--
Andy Dougherty [EMAIL PROTECTED]
Dept. of Physics
Lafayette College, Easton PA 18042