CLib?

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
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

CLib?

Post by Solar »

Every OS needs a C standard library. What are you guys using? Are you porting glibc? newlib? Do you write your own? Something Completely Different (tm)?

As one not being happy with the GPL, would there be interest in a Public Domain C library, for OS developers to toy with?
Every good solution is obvious once you've found it.
Tim

Re:CLib?

Post by Tim »

I'm writing my own. The functions are either OS-dependent, or easy enough to write myself.
Therx

Re:CLib?

Post by Therx »

For some functions I found it fun to write my own (e.g. how would you do a square root?) But most will come from newlib I expect and eventually I will have to replace my math with the newlib ones as they are probally much quicker
Tux

Re:CLib?

Post by Tux »

I am thinking to add the CLib, but not as the standard one. Just for compatbility.
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:CLib?

Post by Pype.Clicker »

i was thinking at porting the Gnu version of libc, but i admit i'm pretty unaware of what amount of work it might require so i'd rather delegate this to some co-worker (if i find geeks that are interrested enough :)
mystran

Re:CLib?

Post by mystran »

One might also want to look at uLibC or dietLibc, which are smaller than GNU libc. No idea though if they are actually any faster to port, as they are designed to be small.
Post Reply