1 Hello World
In this chapter, you’ll create and execute your first program, “Hello World.” This is about the simplest program you can make and the first program in almost all C books. But you’ll go beyond just creating it: you’ll learn what’s actually going on behind the scenes during its creation.
The tools you’ll use are designed to make things quick and easy, which is good for regular programming but can be bad for embedded programming. The compiler, GCC, is actually a wrapper that runs a whole bunch of other tools. We’ll look at what each tool does to get your program from code to execution. In the process, you’ll discover that the ...
Get Bare Metal C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.