I just tried to create a stub library which contains stubs for all IETF MIB modules. The downside of this approach is that the resulting stub library is rather big (4M). The upside is that there is one library with everything included - so all the stubs are readily available. There might be other ways to split things in more reasonable sized pieces. (Or if there someone who can tell me how I can generate more space efficient stubs, I would love to do so.)
The stubs contains a lot of static data, I don't think you'll be able to reduce the library size significantly. For your information, the final scli executable (which contains everything) has a size of 2.5 MB, compiled with gcc-3.1, on my system. Anyway, the stub library size is not really a problem, as it can be shared by many executable whose size should be rather small.
Michael.