Chapter 8
Command-Line Options for Library and Linking
This chapter explains the following command-line options for library and linking.
•
-keepobjects
•
-nolink
•
-o
8.1 -keepobjects
Retains or deletes object files after invoking the linker.
Syntax
-keepobj[ects]
-nokeepobj[ects]
Remarks
Use
-keepobjects
to retain object files after invoking the linker. Use
-nokeepobjects
to delete object files after linking. This option is global.
NOTE
Object files are always kept when compiling.
8.2 -nolink
Compiles the source files, without linking.
Syntax
-nolink
CodeWarrior Development Studio for Advanced Packet Processing Build Tools Reference Manual, Rev.
10.2, 01/2016
Freescale Semiconductor, Inc.
89