building Libraries for NET+OS

we are developing an application in digi connectEM module.But in our application,we have to port an application running in Linux.For that we need change the libraries also.NET+OS will not support libraries compiled for Linux.so we have to build it for NET+OS.This is the situation.So we need to build those libraries from the source C files for NET+OS.But how to build Libraries for NET+OS.It is very important for our application.
so please help me to build libraries for NET+OS…