When you partition a application into separate compilation units you will need to indicate how a symbol defined in one unit is referenced in other units. This section will show you how to declare symbols exported or imported so they can be used in more than one unit.

When building applications, you often find pieces of code which can be reused in other applications. Rather than duplicating source code, you can package these units together into a library which can be reused in different applications.

The CrossWorks tools were designed to be flexible and let you to easily write space-efficient programs using libraries and separate compilation. To that end, the assembler and linker combination provides a number of features which are not found in many compilation systems.