Hello, I need help, I am trying to write my own C library but I am a bit confused on where to start....I am assuming I will have to make my own header files then .C files, but I need help...maybe a tutorial? website? or just advice...just something for help.
Thanks
--Evad
C run-time Library
Re:C run-time Library
Don't you mean...C++ Run Time Libary?
If so...I know a person who could help...
If so...I know a person who could help...
Re:C run-time Library
No I mean C...I am using C to program my OS...not C ++...I think this is okay isn't it?
Re:C run-time Library
Compile the sources for your standard C library implementation and create a static library with the resulting object files. If you are developing under Linux, you could use "ar" to create the static library. Then just include the appropriate header files and link against your C library.
Re:C run-time Library
Hey,
i was just wondering, if i wanted to use C++ in my kernel, well...only one feature of C++.....Classes(Object orientation), I heard from someone, that all i would have to do is Link a C++ library to my Kernel, NOTE: I am using GCC, Is it this simple, or do i have to do something else??
If it is not that simple, then don't worry bout it, i don't want C++ (yet) i am just starting off. But if it as easy as i think to put in Classes, then how????
Ciao ;D
i was just wondering, if i wanted to use C++ in my kernel, well...only one feature of C++.....Classes(Object orientation), I heard from someone, that all i would have to do is Link a C++ library to my Kernel, NOTE: I am using GCC, Is it this simple, or do i have to do something else??
If it is not that simple, then don't worry bout it, i don't want C++ (yet) i am just starting off. But if it as easy as i think to put in Classes, then how????
Ciao ;D
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact: