This chapter describes how the runnable Emacs executable is dumped with the preloaded Lisp libraries in it, how storage is allocated, and some internal aspects of GNU Emacs that may be of interest to C programmers.
Building Emacs How to preload Lisp libraries into Emacs.
Pure Storage A kludge to make preloaded Lisp functions sharable.