[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github
email@example.com Integration <espeak-ng@...>
[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
So far as what @jaacoppi suggests it's pretty trivial to try - just remove src/libespeak-ng/compile*.c from the source files for the library/DLL...
I just tested it, the library builds with no issues. I get (amd64 with -O2):
If I build the library with all the compile support:
So that saves over 100k at run-time (text+data+bss). ROM usage depends primarily on the text - data tends to be highly compressible - and that only amounts to 53275 bytes, still that's 10%.
An espeak-ng static build with the "compile" options commented out should just do this automatically, and commenting out the five compile options is easy too...