-
tiny horse; tiny pictures
In this post, we are adding a tiny HTTP server that serves a picture of a tiny horse. This fits perfectly with the theme of the Tiny Horse distro project and gives us the opportunity to add another small, practical recipe to our growing collection. Along the way, we will explore the basic structure of…
-
Do I really need the C runtime? part 2
In the last post we got a c program to boot, run, then segmentation fault without the C runtime. In this post The following issues are addressed Fixing the segmentation fault This issue really is that extreme. In the previous post there was a small error. In the puts function it does not return. So…
-
Do I really need the C runtime? part 1
In C before main tasks to setup the runtime environment needs to run. In C and C++ Crt objects do the setup and tare down of the runtime environment. Crt stands for “C(++) RunTime”. These setup tasks are initializing the stack, IRQ (interrupt requests), registers, memory segments, passes argc/argv to main. C/C++ compilers automatically link…