in reply to Problems compiling Parrot
My guess is that the line above it:
use lib "$FindBin::Bin/lib";
might not be working properly on your system, for some reason (FindBin is rumored to be unstable). Try a 1-liner of:
perl -MFindBin -le 'print $FindBin::Bin'
while in the directory that you have parrot installed, and see if it is displaying the correct directory. You may have an extra trailing '/'.
In the meantime, cd over to the languages/imcc subdirectory and make imcc. You can use it to assemble (and run!) parrot programs with the -a switch, i.e.:
imcc -a source.pasm
Update:
As a side note, your assembly snippet is a bit whacked. There isn't a 4 arg conditional branch anymore, and you are comparision is a bit off. Try this:
REDO: time I1 print I1 print "\n" SPIN: time I1 ne I1, I2, REDO branch SPIN
Hope that doesn't take the fun outta it! (-:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problems compiling Parrot (perverser)
by tye (Sage) on Mar 26, 2003 at 16:38 UTC | |
by jryan (Vicar) on Mar 27, 2003 at 03:55 UTC | |
|
Re: Re: Problems compiling Parrot
by jens (Pilgrim) on Mar 26, 2003 at 03:09 UTC | |
by jryan (Vicar) on Mar 26, 2003 at 03:21 UTC | |
by jens (Pilgrim) on Mar 26, 2003 at 03:46 UTC | |
by jryan (Vicar) on Mar 26, 2003 at 06:35 UTC |