Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

ALIAS Option for ATTRIBUTES Directive

Use the ALIAS option for the ATTRIBUTES directive. If the name of a routine appears as mixed-case in C, and you need to preserve the case.

To use the ALIAS option, place the name in quotation marks exactly as it is to appear in the object file. A C function My_Proc example:

 !DIR$ ATTRIBUTES DECORATE,ALIAS:'My_Proc'
 :: My_Proc

This example uses DECORATE to reconcile external name declaration for the target platform.

Using the DECORATE option in combination with the ALIAS option specifies that the external name specified in ALIAS should have the correct prefix and postfix decorations for the calling mechanism in effect.