From Appmethod Topics
Jump to: navigation, search

Go Up to Clang-enhanced C++ Compilers

BCCIOSARM is the Appmethod C++ compiler for 32-bit iOS.

BCCIOSARM is based on Clang. See Clang-enhanced C++ Compilers for information that the BCCIOSARM compiler has in common with other Clang-enhanced C++ compilers.

  • BCCIOSARM does not support the iOS Simulator. The iOS Simulator runs a special, non-ARM version of iOS. Appmethod does not provide any C++ compiler for the iOS Simulator.
  • For 64-bit iOS, use BCCIOSARM64 instead.

General Information

Field Value
Clang Version 3.1
LLVM Version 3.1
Calling Conventions Apple AAPCS
Name Mangling Itanium
Standard Library LLVM libc++

Output Files

File Type File Extension File Format
Executable Mach-O
Shared Library N/A¹
Static Library .a ar
Compiled Object .o Mach-O
Note: iOS does not support applications containing shared libraries.

Writing C++ Code for BCCIOSARM

To write C++ code specifically for BCCIOSARM, use:

#if defined(__APPLE__) && defined(__arm__)
    // Your code.
Note: This is compiler-specific code, and it is not the recommended way to write iOS-specific code. See Creating an iOS App, Writing Code for iOS Only.

For more information, see Clang-enhanced C++ Compilers, Predefined Macros.

See Also