Leopold Toetsch <[EMAIL PROTECTED]> wrote:
I'm still waiting for confirmation that the recipe below works for
ppc-linux.
Thanks,
leo
>> jitcapable=1, jitarchname=ppc-linux,
> I've now tried to fix that too long lasting problem.
> 1) attach the patch below
> 2) mv config/gen/platform/darwin/asm.s jit/ppc
> 3) perl Configure.pl --nomanicheck # or fix MANIFEST
> This might cause trouble for ppc-aix, because the asm function is
> included via a different mechanism too.
> Tested on OS X only. If that works, cleanup (MANIFEST, aix) can follow.
> leo
> --- parrot/config/auto/jit.pl Wed Feb 2 13:23:59 2005
> +++ parrot-leo/config/auto/jit.pl Mon Feb 14 18:02:32 2005
> @@ -79,10 +79,13 @@
> }
> }
> - if (-e "config/gen/platform/$cpuarch.s") {
> - copy_if_diff("config/gen/platform/$cpuarch.s", "asmfun.s");
> -
> - Configure::Data->set(asmfun_o => 'asmfun$(O)');
> + if (-e "jit/$cpuarch/$jitarchname.s") {
> + copy_if_diff("jit/$cpuarch/$jitarchname.s", "src/asmfun.s");
> + Configure::Data->set(asmfun_o => 'src/asmfun$(O)');
> + }
> + elsif (-e "jit/$cpuarch/asm.s") {
> + copy_if_diff("jit/$cpuarch/asm.s", "src/asmfun.s");
> + Configure::Data->set(asmfun_o => 'src/asmfun$(O)');
> } else {
> Configure::Data->set(asmfun_o => '');
> }