The size of the distribution has nothing to do with TeX itself, but with the huge amount of fonts, style files, and other configuration files used to typeset modern documents on desktop systems. TeX itself is very self contained and already runs on most architectures you can think of. The author's problem is that he is trying to port to a mobile device a distribution that was created for UNIX systems.