The LabWindows/CVI compiler does not create optimized code. You can create optimized code by compiling LabWindows/CVI source code using an external optimizing compiler. To compile in an external compiler, you must set up a compiler configuration, which contains information about the external compiler and compiler options to use. You can specify a compiler configuration on an environment-wide or per-project basis. Use the Active Compiler option in the Build Options dialog box to select an environment-wide compiler configuration. Use the Release Configuration dialog box to specify project-specific compiler settings. When an external compiler is the active compiler for the release configuration and you compile code within the LabWindows/CVI environment, LabWindows/CVI calls the external compiler directly. The LabWindows/CVI linker links the compiled code.
LabWindows/CVI stores environment-wide compiler configuration settings in a .ecc file and project-specific compiler configuration settings in the .prj file. LabWindows/CVI provides environment-wide compiler configuration templates, .ect files, for the following external compilers. The entries are linked to the Web sites from which you can download or order the current versions of these compilers.
You can use an external compiler to compile code for a LabWindows/CVI project only if the project is in the release configuration. LabWindows/CVI always uses its own compiler to compile any debuggable code. You also must consider several other factors to ensure you can successfully compile code that will run in LabWindows/CVI using the configuration you specify.