O'Reilly logo

Embedded Linux by John Lombardo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

There are a few important concepts to glean from this chapter:

  • Size does matter when you’re working on embedded applications.

  • To build the smallest, most reliable embedded application, you must either choose an embedded Linux distribution that matches your needs or roll your own.

  • In all but the simplest applications, you should use the dynamic C libraries (shared libraries) as opposed to statically linking your executables.

  • Don’t use -g or -static when compiling your executables for inclusion in an embedded application. Use -static only when there will be a single executable in your embedded system. Always use -Os optimization.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required