(Builder: Project > Options for Selected Files... > Actions tab)
Names the output file of the current driver command. In the simplest case, the linker output file is called filename. If another file is generated from the linker output file, such as an S-Record file, this determines the name of the last file created, which is the S-Record file. If only one source file is named, -o is used with either the -S or -c option to name the output of the compiler or assembler. Equivalent to the -o build-time option.
On a project of type Program, Library, Shared library, or Shared data library, these commands are executed before calling the linker or archiver, and not at the very beginning of processing. However, projects of type Shared and Nobuild generate no output files, and at this time this field is ignored for projects of these types.
To make your file portable across different systems, the Builder can append the appropriate extension to the output filename, so you do not have to specify it yourself.
For example, if you are building a program with a build file called fly.bld and want to name the executable file bat, enter bat into the output filename box. Once this is done, the executable will call bat on every system, including those expecting the executables to have extensions such as .bat.exe. When setting this option, the Builder adds the appropriate extension, .exe, on those systems that require it.
The Stop with field should be used in conjunction with the C Source option in the Compilation menu, located in the Advanced tab. Stop With sets the type of file with which to stop when building, so that you can look at the intermediate files. For example, if you have a C source file and want to compile it into assembly code but you do not want it to process any further, set this menu to Assembly. The Builder compiles source files to object files by default.
Some of the file types in this menu are incompatible with the type set in the Type: menu in the File Options dialog box, General tab. For example, you cannot make a C source file into an archive file.
Indicates that an analyzing pass is being performed, and stops after generating the .inf (information) file. The .inf file contains reader-file dependent information.
For source files which are preprocessed (C and C++ files plus preprocessed assembly language files), it invokes the compiler only as a preprocessor and places the output in the standard output file. Although this does not process files as quickly as a standalone C preprocessor, it duplicates the action that is taken when the file is compiled. Equivalent to the -E C and C++ preprocessor option.
For source files which are preprocessed (C and C++ files plus preprocessed assembly language files), it invokes the compiler as a preprocessor but sends the output to a new file with a .i extension. Equivalent to the -P C and C++ preprocessor option.
When converting from other languages to C, this stops with the C file. This option is used in conjunction with the C Source option from the Compilation menu. This is currently not supported.
If you are converting from C++, you can set the Leave Translated C in the C++ option window to achieve the same effect.
For Ada, C, C++, FORTRAN, and Pascal, it checks the syntax of the source file, but does not generate code. Equivalent to the -syntax command line option.
Only produces an assembly file from the source file. For each source language file specified in Ada, C, C++, FORTRAN, or Pascal, compiles the file into an assembly language output file using standard naming conventions. Implies the Assembly option in the Compilation menu. Equivalent to the -S command line option.
Only generates a relocatable object file for each source input file with a filename of inputfile.o. Applies to all source files which are compiled, in Ada, C, C++, FORTRAN, and Pascal. Equivalent to the -c command line option.
Stops with an executable file. This option applies to projects of type Program. If the Debugging level is not MULTI, this option has no effect. Select this option to prevent dblink from running on the executable after it is generated by the linker.
Runs dblink on the executable file, producing debugging symbol files and strips the original executable file of all symbol information. This option applies to projects of type Program. It is the default with Debugging level: MULTI.
Invokes the librarian to generate an archive instead of invoking the linker to generate an executable program. It is the default for projects of type Library. This option must be used with the -o filename option with a .a extension. For example:
cc960fly.c -archive -o libfly.a
Equivalent to the -archive command line option.
Stops with a shared library file with a .so extension. This option applies to project of type Shared Library and is the default for such projects. This type of project is only supported if the Target OS is UNIX. Equivalent to the -shared command line option.
Stops with a shared data library file with a .sa extension. This option applies to projects of type Shared Data Library and is the default for such projects. This type of project is only supported if the Target OS is SunOS.
Enters any additional files you want the current file to depend on. When changes are made in any of these files, the Builder rebuilds the current file.
If you want to execute shell commands before compilation, enter a list of executable commands. Typically, you run commands to set up source files such as preprocessing. These commands are executed verbatim with the default command processor with no variable substitution.
If you want to execute shell commands after compilation, enter a list of such commands here. Typically, you run commands to process the output of the compilation and produce more suitable output. These commands are executed verbatim with the default command processor with no variable substitution.