8.66 --dllimport_runtime, --no_dllimport_runtime

Controls symbol visibility when using the runtime library as a shared library.

Default

The default is --no_dllimport_runtime.

Usage

Use the option --dllimport_runtime to mark all implicit references as __declspec(dllimport). Implicit references are references that are not in user source code but are nonetheless used by the compiler. Implicit references include:

  • Library-resident compiler helper functions. For example, helper functions for software floating-point support.

  • RunTime Type Information (RTTI) found in the C++ runtime libraries.

  • Any optimized implementation of a user-specified function, for example, printf(), providing that the non-optimized user-specified version of the function that the optimized implementation is based on, is marked as __declspec(dllimport). Header files describing which library functions are exported from DLLs are usually provided with the platform DLL version of the C library.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.