Link order

By default, the Workbench computes the link order of the object files by interpreting project references as defined within the Project Explorer.

The Object Files configuration provides you a possibility to configure the management of the project object files during the linking phase. The Enable user-managed object file order option provides you a possibility to change the order of linked object files (ide link order up, ide link order down) according to your needs. We also recommend setting the Pass list objects to the linker by file option, which ensures passing the object files via an option file. This option helps to minimize the length of the build command line.

ide link order
Fig. 1. Object Files

NOTE: All the other actions (ide link order others) are not relevant for this option, and the IDE ignores them during the linking phase.

Object order settings

The object order implementation is only partially backward compatible with previous versions (2.6.3 and 2.5.0) and not backward compatible with older versions (2.4.0 and older). If you want to import the project in earlier versions, you should keep the Enable user-managed object file order option unchecked. See How to mitigate problems when importing a project into an older IDE version.