Use this panel to specify files the PowerPC Linker should use. You can specify multiple additional libraries and library search paths. Also, you can change the order in which the IDE uses or searches the libraries.
The following table lists and describes the input options for PowerPC.
| Option | Description |
|---|---|
| No Standard Library | Select if there is no standard library attached. |
| Link Command File (.lcf) | Consists of three kinds of segments, which must be in this order:
|
| Code Address | Specifies the location in memory where the executable code resides. The possible addresses depend on your target hardware platform and how the memory is mapped. |
| Data Address | Enables you to specify the address for global data. |
| Small Data Address | Enables you to specify the RAM address for the first small data section. This address must not conflict with the target-hardware memory map; target hardware must support this address. |
| Small Data 2 Address | Enables you to specify the RAM address for the second small data section. This address must not conflict with the target-hardware memory map; target hardware must support this address. |
| Entry Point | Enables you to specify the program starting point - the function that the linker uses first when you launch the program. This default function (in file __start.c) is bootstrap/glue code that sets up the EABI environment, then calls function main(). |
| Library Search Paths | Enables you to specify the search pathname of libraries or other resources related to the project. Type the pathname into this text box. Alternatively, click Workspace or File system, then use the subsequent dialog box to browse to the correct location. |
| Library Files | Enables you to specify the pathname of libraries or other resources related to the project. Type the pathname into this text box. Alternatively, click Workspace or File system, then use the subsequent dialog box to browse to the correct location. |
The following table lists and describes the toolbar buttons that help work with the libraries and the additional object file search paths.
| Button | Description |
|---|---|
| Add - Click to open the Add directory path dialog box and specify the object file search path. | |
| Delete - Click to delete the selected object file search path. | |
| Edit - Click to open the Edit directory path dialog box and update the selected object file search path. | |
| Move up - Click to move the selected object file search path one position higher in the list. | |
| Move down - Click to move the selected object file search path one position lower in the list. |
The following figure shows the Add directory path dialog box.
The following figure shows the Edit directory path dialog box.
The buttons in the Add directory path and Edit directory path dialog boxes help work with the object file search paths.
The following table lists and describes the toolbar buttons that help work with the libraries and the additional object files.
| Button | Description |
|---|---|
| Add - Click to open the Add file path dialog box and specify location of the library you want to add. | |
| Delete - Click to delete the selected library path. To confirm deletion, click Yes in the Confirm Delete dialog box. | |
| Edit - Click to open the Edit file path dialog box and update the selected path. | |
| Move up - Click to move the selected path one position higher in the list. | |
| Move down - Click to move the selected path one position lower in the list. |
The following figure shows the Add file path dialog box.
The following figure shows the Edit file path dialog box.
The buttons in the Add file path and Edit file path dialog boxes help work with the file paths.