Hi friends currently we are working on porting dietlibc to a new fresh educational OS using xv6 kernel. You can find xv6 kernel here . http://pdos.csail.mit.edu/6.828/2012/xv6.html
What I am looking at is kernel support required to port new library to any such fresh OS ? i.e. currently our kernel implements about 25 system call but dietlibc has got interface for complete standard 356 system call that are currently availaible in linux ? So do I need to implement all these in our kernel ?
Or as a matter of fact how to find out minimum number of system call to be supported by any kernel to port new library into it like dietlibc, PDClibc ?
Actually I want to run a c interpreter named pico C on my OS. I have been able to build that interpreter against dietlibc statically in linux environment. After checking out the number of system call made by it's binary I find out that it's making around 92 system call. But 'm not sure how to find out number of system call internally made by library against which my interpreter is built ?
Is there any tool available that will help me to find out how many system call are made by library [NOT EXECUTABLE PROGRAM, SO strace/nm is not option ] ?
I hope I 've been able to completely tell my problem. If not please contact me at:
[email protected]
Thanx.