OPTFILE

OPTFILE is a list defining the characters a response file (options file, command file) for the compiler/ linker command is given with. Usually, the supported character is "@".

Example:
OPTFILE = @

Response files are parsed by ctc, and for that purpose, they have to be recognized.

Additionally, if ctc needs to generate a response file because the command line length would exceed MAX_CMDLINE_LENGTH, it also uses this setting.

The PARAMS list supersedes the settings of OPTFILES, hence with
OPTFILE = -@@, -@
PARAMS = …, -@E=, …
the option -@E=error.log is not considered to set a response file.

For parsing the commands given, ctc allows that the response file name is either connected to the option or separated with a space. When ctc needs to generate a response file, and if the compiler/linker requires that the response file name is separated from the option by one space, the option must be listed also in the PARAMS_SEPARATE setting.

Remark: The @options-file parameter that ctc and ctcpost recognize as a way to give their own command-line parameters is always specified by "@".