Skip to content

Launching the Compiler Outside the Studio

You can launch the compiler outside of the Studio (using Start | Run or from a command prompt). You can also add the Compiler to the Studio's Utilities menu using the Configure Tools menu option.

When launching the compiler outside the Studio, you must pass the appropriate command line parameters for compilation.

dfcomp {Source} {-x} {options{ } . . . }
Start compiler with current workspace.

dfcomp {Source} -x {Workspace} {options{ } . . . }
Start compiler with Workspace.

dfcomp {Source} -x {options{ } . . . }
Start compiler with default settings.

Arguments

Argument Explanation
source Is the program area or file containing the source code to be compiled.
options Is a string of compiler options.

Notes

Unless the path to the compiler is part of the PATH environment variable, you will have to use the full path to the compiler:

"{DataFlex Install Path}\bin\DFComp.exe" -x MyApplication.src

where {DataFlex Install Path} is the location, including the full path, where DataFlex is installed.

See Compiler Options for details about compiler options.

See Also