FWIW, pmc2c.pl fails outside the build directory with the following error message: can't find file 'classes/default.dump' in path '.', '/usr/src/parrot/build_tools/..', '/usr/src/parrot/build_tools/../classes/' at /usr/src/parrot/build_tools/pmc2c.pl line 281. The patch below seems to fix this. This came up because I am trying to build a dynamic PMC thusly: PARROT-BUILD-DYNCLASSES = perl ${PARROT-HOME}/build_tools/build_dynclasses.pl . . . dynclasses/character.c: dynclasses/character.pmc ${PARROT-BUILD-DYNCLASSES} generate dynclasses/character dynclasses/character.o: dynclasses/character.c ${PARROT-BUILD-DYNCLASSES} compile dynclasses/character dynclasses/character.so: dynclasses/character.o ${PARROT-BUILD-DYNCLASSES} linklibs dynclasses/character But this only works if the build environment is still lying around. Is there a better way to do this? Is there a plan for building third-party PMC classes using an installed Parrot? TIA, -- Bob Rogers http://rgrjr.dyndns.org/ ------------------------------------------------------------------------ Index: pmc2c.pl =================================================================== --- pmc2c.pl (revision 9125) +++ pmc2c.pl (working copy) @@ -638,7 +638,7 @@ $all{$class} = $res; } - $all{default} = read_dump($include, "classes/default.pmc") + $all{default} = read_dump($include, "default.pmc") if not $all{default}; my $vt = read_dump($include, "vtable.pmc");Thread Next