c libraries
Posted: Mon Jun 07, 2010 5:28 pm
The good thing about FORTH was that you could bring up a new chip quickly - because most of FORTH was written in FORTH. You merely had to code a few key functions in assembler and then compile it in stages. (All per recollection of long ago). The first stage depended on the newly coded assembler functions. The second stage depended on these plus those from the first stage. etc. and so you bootstrapped a system where there was none - using cross assemblers as I recall.
The relevance?
I was wondering whether there is somewhere a heirarchaical chart that shows which members of the C library depend on which members. My idea was that maybe one could quickly (propgramming time) bring up an not necessarily optimnal c library by writing a few functions in assy and the rest depending on those already done - ala FORTH.
This is no doubt an old idea but I am new here so it's new to me.
Suggestions?
Does anyone know of such a heirarchical chart? If there is one it might save me a lot of time in bringing up my system. Or is there source to a C library written as much as possible in C? Maybe I'm answering my own question. I imagine that if I look at Linux or freeBsd I'll find the source to their C libraries - but they will have system calls. Confused. Has someone thought this through? Willing to share your insight?
The relevance?
I was wondering whether there is somewhere a heirarchaical chart that shows which members of the C library depend on which members. My idea was that maybe one could quickly (propgramming time) bring up an not necessarily optimnal c library by writing a few functions in assy and the rest depending on those already done - ala FORTH.
This is no doubt an old idea but I am new here so it's new to me.
Suggestions?
Does anyone know of such a heirarchical chart? If there is one it might save me a lot of time in bringing up my system. Or is there source to a C library written as much as possible in C? Maybe I'm answering my own question. I imagine that if I look at Linux or freeBsd I'll find the source to their C libraries - but they will have system calls. Confused. Has someone thought this through? Willing to share your insight?