FreeBasic Bare Bones: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Solar (talk | contribs)
m Remove reference to newlib that doesn't need to be there
Line 222:
The Runtime is built on top of the C library. FreeBasic provides sources to the Runtime (which are written in C). You'll need to provide the C library. Since many parts of the kernel rely heavily upon each other, you will probably add the Runtime in steps.
Some functions compile cleanly with minimal effort. When you compile the CType, String and Stdlib (excluding malloc, calloc, and free) parts of the runtime can be compiled on top of those.
Before you can use the string and array instructions, you will need to have [[Memory Management|memory management]] implemented. That will allow you to compile malloc, calloc, free from the C library, after which the string and some of the array functions can be compiled. (Newlib can be [[porting Newlib|compiled completely]] when it has memory management functionality)
 
[[Category:Bare bones tutorials]]