Page 1 of 1
C run-time Library
Posted: Sat Nov 16, 2002 9:37 pm
by Evad
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
Re:C run-time Library
Posted: Sat Nov 16, 2002 9:40 pm
by Tom
Don't you mean...C++ Run Time Libary?
If so...I know a person who could help...
Re:C run-time Library
Posted: Sat Nov 16, 2002 10:32 pm
by Evad
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
Posted: Sat Nov 16, 2002 10:44 pm
by Will
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
Posted: Sun Nov 17, 2002 12:35 am
by Berserk
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
Re:C run-time Library
Posted: Tue Dec 10, 2002 1:37 am
by Berserk
.....So......Does anybody know?
Re:C run-time Library
Posted: Tue Dec 10, 2002 3:03 am
by Pype.Clicker