C run-time Library

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Evad

C run-time Library

Post 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
Tom

Re:C run-time Library

Post by Tom »

Don't you mean...C++ Run Time Libary?

If so...I know a person who could help...
Evad

Re:C run-time Library

Post by Evad »

No I mean C...I am using C to program my OS...not C ++...I think this is okay isn't it?
Will

Re:C run-time Library

Post 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.
Berserk

Re:C run-time Library

Post 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
Berserk

Re:C run-time Library

Post by Berserk »

.....So......Does anybody know?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:C run-time Library

Post by Pype.Clicker »

Post Reply