On Tuesday 11 March 2008 13:02:25 Wim Vanderbauwhede wrote: > I would like to use Parrot on a "small platform" (embedded microprocessor > system). The system would need a minimal parrot that should only run > precompiled bytecode, nothing else, and it does not even need the PGE. > But it should be very small (say <250K). I compiled parrot --without almost > everything (no debug, no gmp, no gdbm) but the library is still several MB. > I've read "Parrot for small platforms" in pdd01_overview, it says > "For small platforms, any parser, compiler, and optimizer modules are > replaced with a > small bytecode loader module which reads in Parrot bytecode and passes > it to the interpreter for execution." > I guess that's what I need; but I have no idea how to compile parrot this > way. Any pointers would be much appreciated.
You could probably get by with disabling most of NCI (src/nci.c), the JIT (src/exec*.c), IMCC (compilers/imcc/*), and all but one runcore (src/ops/*.c). I don't know if that would get you down under 250K, but it's a start. -- c