RS08 Compiler > Input

Use this panel to specify file search paths and any additional include files the RS08 Compiler should use. You can specify multiple search paths and the order in which you want to perform the search.

The IDE first looks for an include file in the current directory, or the directory that you specify in the INCLUDE directive. If the IDE does not find the file, it continues searching the paths shown in this panel. The IDE keeps searching paths until it finds the #include file or finishes searching the last path at the bottom of the Include File Search Paths list. The IDE appends to each path the string that you specify in the INCLUDE directive.

Note: The IDE displays an error message if a header file is in a different directory from the referencing source file. Sometimes, the IDE also displays an error message if a header file is in the same directory as the referencing source file.

For example, if you see the message Could not open source file myfile.h, you must add the path for myfile.h to this panel.

The following figure shows the Input panel.

Figure 1. Tool Settings - RS08 Compiler > Input
Tool Settings - RS08 Compiler > Input

The following table lists and describes the input options for RS08 Compiler.

Table 1. Tool Settings - RS08 Compiler > Input Options
Option Description
Filenames are clipped to DOS length ( -!) Refer to the -!: Filenames are Clipped to DOS Length topic.
Include File Path ( -I) Refer to the -I: Include File Path topic.
Recursive Include File Path (-Ir) Use this option to add the required file paths recursively.
Additional Include Files ( -AddIncl) Refer to the -AddIncl: Additional Include File topic.
Include files only once ( -Pio) Refer to the -Pio: Include Files Only Once topic.
The following table lists and describes the toolbar buttons that help work with the file paths.
Table 2. Include File Path (-I) Toolbar Buttons
Button Description
Add - Click to open the Add directory 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 directory 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.
Figure 2. Tool Settings - RS08 Compiler > Input - Add directory path Dialog Box
Tool Settings - RS08 Compiler > Input - Add directory path Dialog Box
Figure 3. Tool Settings - RS08 Compiler > Input - Edit directory path Dialog Box
Tool Settings - RS08 Compiler > Input - Edit directory path Dialog Box

The buttons in the Add directory path and Edit directory path dialog boxes help work with the paths.

The following table lists and describes the toolbar buttons that help work with the search paths.
Table 3. Additional Include Files (-AddIncl) Toolbar Buttons
Button Description
Add - Click to open the Add directory 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 directory 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.

Figure 4. Tool Settings - RS08 Compiler > Input - Add file path Dialog Box
Tool Settings - RS08 Compiler > Input - Add file path Dialog Box

The following figure shows the Edit file path dialog box.

Figure 5. Tool Settings - RS08 Compiler > Input - Edit file path Dialog Box
Tool Settings - RS08 Compiler > Input - Edit file path Dialog Box

The buttons in the Add file pathand Edit file path dialog boxes help work with the paths.