At 8:57 AM -0800 11/1/04, Matt Diephouse (via RT) wrote:
The disassembler compiles but doesn't work.

[EMAIL PROTECTED]:~/parrot$ make disassemble
src/disassemble.c
echo ast/ast.y -d -o ast/astparser.c -p AST
ast/ast.y -d -o ast/astparser.c -p AST
/usr/bin/perl -e 'open(A,qq{>>$_}) or die foreach @ARGV' ast/ast.y.flag
ast/astparser.c ast/astparser.h
c++ -o disassemble src/disassemble.o -L/usr/local/lib -Wl,-E -g blib/lib/libparrot.a blib/lib/libicuuc.a blib/lib/libicudata.a -ldl -lm
-lpthread -lcrypt -lrt
[EMAIL PROTECTED]:~/parrot$ ./disassemble forth/forth.pir
PackFile_unpack: Invalid wordsize 46
Parrot VM: Can't unpack packfile forth/forth.pir.

Erm... .pir isn't bytecode. What happens when you run the disassembler on the bytecode you get if you compile forth.pir?
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to