Linking

The name for the linker is arm-none-linux-gnueabi-ld. In most Linux environments the linker is named simply ld. When using the linker, many command-line options are available for controlling the output. There are so many options that an entire book could be written covering no other topic. Our interest in this chapter is writing applications, and we are taking as streamlined an approach as possible. So while there may be other options available to get the job done, the aim here is to learn how to build an application that enables us as much flexibility as possible to employ the Android system libraries. To that end, listing 13.4 shows the build script for building a dynamic version of Hello Android.

0 0

Post a comment