8.64 --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.

Related reference
8.95 --guiding_decls, --no_guiding_decls
8.164 --rtti, --no_rtti
10.24 __declspec(dllimport)
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.