GRASP - CSD Window (Ada 95) : Compiler

File | Edit | View | Templates | Windows | Compiler | Run | CPG | Help

Make - Calls the makefile in the directory in which the current source file resides.

Compile and Link - Compiles and links the contents of the CSD window, adding the results to the Ada library. (Calls gnatmake)

Compile - Creates an object file of the current source code.

Semantic Check - Inspects your source code for syntax and semantic errors. Generating a CSD performs a syntax check on your code and returns the location of errors encountered. However, if the information that GRASP provides is not enough to locate the error, try performing a semantic check, as it will often return a little more information as far as what the compiler may have been expecting in certain locations, which may help locate the error.

Flag Setup - Gives the user the option of setting compiler flags. To do this, enter the flags in the appropriate text box (which appears when this item is selected) just as you would when compiling from the command line.

Command Setup - Raises a dialog that allows the user to specify various compiler commands. When a command is executed, %FLAGS will be replaced by the flags for that command (from Flag Setup) and %FILE is replaced by the current filename.

Note that you do not have to perform a semantic check, then a compile, then a make in order to create an executable. The compile option includes the semantic check, and the make option includes the compile option, if necessary. The user only has to run the desired option.

Return to the Introduction to GRASP Page