> I have 32k of ROM to work with. I could perhaps have 64k if I decide Pawn
> is really worth it. I'd love a simple scripting interface for our hardware
> to provide user customizable runtime behavior.
> Anyway, I compiled just the Pawn amx.c with only amx_Init and amx_Exec
> support into a firmware I've been testing. The result looks like
> approximately 60k worth of additional size (but I haven't yet added any
> support for my hardware or any additional support for running the scripts.
The size depends heavily on CPU. On Cortex-M3 with the assembler version
of amxexec, I have the Pawn core in about 15 kB and a complete system
with platform libraries in 32 kB.
Here are my compilation flags, in case it helps:
-DAMX_ASM=1 -DAMX_ANSIONLY -DAMX_NO_PACKED_OPC=1 -DAMX_NO_DYNALOAD=1
Perhaps you could try to check each .o size (using the 'size' tool or
similar, not file size) to see what is taking up the space.