Have you ported the C or C++ standard libraries to your OS? Or do you have completely independent functions?
From what I've read, if I port newlib and try to get printf working, I have to represent my console as a file and modify my VFS to support it. So for now, I've decided to make my own (non-compliant) C++ library.
With the OO approach I'm trying to take, I found the standard libraries a little to restricting. But nothing says at a later stage I couldn't make a standard C or C++ library that wraps around mine.
Libraries and your OS
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Libraries and your OS
My OS is Perception.
Hi,
At the moment I have just created a small subset of the C standard library for my OS to enable me to learn about interfacing with my kernel and to play around with implementations.
Next on the list is porting something like newlib - looks like a tutorial has just gone up on that so I'll be following it in the next few days.
Cheers,
Adam
At the moment I have just created a small subset of the C standard library for my OS to enable me to learn about interfacing with my kernel and to play around with implementations.
Next on the list is porting something like newlib - looks like a tutorial has just gone up on that so I'll be following it in the next few days.
Cheers,
Adam
Solidus is working on Clib for DexOS
http://tonymac.asmhackers.net/Wiki/inde ... =Libs.CLib
http://tonymac.asmhackers.net/Wiki/inde ... =Libs.CLib