OS adaptation layer over WinCE for supporting POSIX calls ?
I have to build a OS adaptation layer over WinCE so that it supports
the POSIX calls
for eg . there is a POSIX call pthread_create() This call shud go to
the Adaptation layer which shud inturn map it to the corresponding
WinCE API i.e threadcreate(). Similarly for all other calls
One solution which come to my mind is
Make a static library which would be responsible for mapping the POSIX
calls to Windows CE calls, and link those calls to the POSIX compliant
application. So each time a call is made to the POSIX compliant
application, the library is also statically linked.
IS the above solution feasible?
IF anybody has a better solution regarding this OS Adaptation layer .
plz get back
Thanks and Regards