Libc

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
DarylD

Libc

Post by DarylD »

I think I have mentione this before, but I have got to the stage where I can not go on without doing it.

I need a libc, but I understand its a huge task porting one, anybody got any that are not particularily tied to linux etc.

Daryl.
Whatever5k

Re:Libc

Post by Whatever5k »

What exactly do you need? Why don't you program your one - later on you'll be disappointed of yourself to having used an already existing library...
DarylD

Re:Libc

Post by DarylD »

I need it for my client libraries not for my kernel.

So I need an API library that I can map calls like open() etc to my own internal API.

Its going to be a huge task thats why I want to make the right decision early on.

There is no way I am going to write my own, its just too much work.

Daryl.
Tim

Re:Libc

Post by Tim »

You're going to have to write your own, at least partially. It's impossible to have a libc without any OS dependencies.

Anyway, I recommend the non-OS-specific parts of the DJGPP runtime.
DarylD

Re:Libc

Post by DarylD »

Ah, cheers Tim. I feared as much. Oh well, I guess I had better start coding it!

I think I will download all the different libc's out there and see which has the most sensible structure.

Gonna be a long job, I guess!

Daryl.
Mastermind

Re:Libc

Post by Mastermind »

Daryl Dudey wrote: Ah, cheers Tim. I feared as much. Oh well, I guess I had better start coding it!

I think I will download all the different libc's out there and see which has the most sensible structure.

Gonna be a long job, I guess!

Daryl.
Yo Daryl,

How about the PDOS library? It's public domain, too.
Check out http://freespace.virgin.net/paul.edwards3/program.htm

Hope this helps...
Post Reply