S12Z Compiler > Input

Use this panel to specify file search paths and any additional include files the S12Z 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 table lists and describes the input options for S12Z Compiler.

Table 1. Tool Settings - S12Z Compiler > Input Options
Option Description
Prefix File This option allows you to specify the prefix file or precompiled header file search path.
Source File Encoding This option allows you to select the source file encoding. The options available are:
  • ASCII (default)
  • Auto-Detect (multibyte encoding)
  • System (use system locale)
  • UTF-8
  • Shift-JIS
  • EUC-JP
  • ISO-2022-JP
Allow Macro Redefinition This option allows macro redefinitions without an error or warning.
Defined Macros Use this option to specify the defined macros.
Undefined Macros Use this option to specify the undefined macros.

The following table lists and describes the toolbar buttons that help work with the file paths.

Table 2. Defined Macros/Undefined Macros Toolbar Buttons
Button Description
Add - Click to open the Enter Value dialog box and specify location of the library you want to add.
Delete - Click to delete the selected library path.
Edit - Click to open the Edit Dialog 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 Enter Value dialog box for Defined Macros .

Figure 1. Tool Settings - S12Z Compiler > Defined Macros > Enter value Dialog Box
Tool Settings - S12Z Compiler > Defined Macros > Enter value Dialog Box

The following figure shows the Edit Dialog dialog box for Defined Macros .

Figure 2. Defined Macros - Edit Dialog
Defined Macros - Edit Dialog

The buttons in the Enter Value and Edit Dialog dialog boxes help work with the paths.

The following figure shows the Enter Value dialog box for Undefined Macros .

Figure 3. Undefined Macros - Enter value Dialog Box
Undefined Macros - Enter value Dialog Box

The following figure shows the Edit Dialog dialog box for Undefined Macros .

Figure 4. Undefined Macros - Edit Dialog
Undefined Macros - Edit Dialog

The buttons in the Enter Value and Edit Dialog dialog boxes help work with the paths.