次の方法で共有


Unique Build Options (Windows Embedded CE 6.0)

1/5/2010

Nearly all of the build options offered for desktop compilers are also available for device compilers, and you implement them in identical ways. Linker option implementation is identical in both environments.

For a list of compiler options that are common to both desktop compilers and device compilers, see Shared Build Options.

The following table shows compiler options that support device compilers in a way that differs significantly from desktop implementations.

Option Description

/callcap - Enable callcap profiling

Inserts callcap profiling hooks at the beginning and end of each function.

/GS - Enable Security Checks

Compiler tries to detect any direct buffer overruns into the return address on the return stack.

/SAFESEH - Image has Safe Exception Handlers

Linker only produces an image if a table of safe exception handlers can also be produced.

/analyze - C/C++ Code Analysis

Enables code analysis with optional treatment of errors.

In addition, each supported microprocessor family has processor-specific compiler options that implement unique functionality.

See Also

Reference

ARM Compiler Options
Renesas Compiler Options
MIPS Compiler Options

Other Resources

Differences Between Desktop and Device Compilers