The kernel ORB (KORBit) will consist of the core ORBit modules. The support modules are not needed for the ORB itself, they are just needed for external services (e.g. naming), IDL compilation, and so on.
To take care of the external dependencies we have map the function calls to their kernel counterparts or port the functionality to the kernel.
Many of the C library functions already have counterparts in the Linux kernel, so handling these will be as simple as using #define to redirect function calls to their kernel counterparts (e.g. printf to kprintf) or writing short wrapper functions. For the functions that cannot be handled in this way we have to either port them to the kernel or rewrite ORBit to use the functions that are available in the kernel.
It turns out that ORBit only needs a subset of the functionality in Glib, so we decided to separate out the required functions into a new library (called KGlib) that we will port to the kernel. KGlib has many of the same dependencies on the C library as ORBit does, and we will solve this in the same way as mentioned above.