Keil Logo Arm Logo

Introducing the ARM Compiler toolchain

Using the linker

Using the linker

The linker combines the contents of one or more object files with selected parts of one or more object libraries to produce an image or object file.

Typically, you invoke the linker as follows:

armlink [options] file_1 ... file_n

Show/hideLinking example

To link the object file shapes.o, use the command:

armlink shapes.o --info totals -o shapes.axf

where:

-o

Specifies the output file as shapes.axf.

--info totals

Tells the linker to display totals of the Code and Data sizes for input objects and libraries.

Show/hideSee also

Tasks
Reference

Linker Reference:

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0592B
Non-ConfidentialID062912

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.