ARM Compiler Flags

The following compiler flags apply to the creation of interworking programs.

  • The /QRinterwork-return - Enable Interworking flag causes all function returns in a given file to be made interworking. This flag has no effect on function calls.
  • The /QRarch - Specify Target Architecture flag allows the compiler to generate instructions that are only available on THUMB-enabled microprocessors (such as BX). This flag is on by default for CLTHUMB. This flag is off by default for CLARM. The /QRinterwork-return flag automatically enables the /QRarch flag.

See Also

THUMB-enabled ARM Implementation | Mode Switching | Declspecs | Linker-Generated Thunking Routines | /QRinterwork-return - Enable Interworking | /QRarch - Specify Target Architecture

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.