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

ID 767251
Date 6/24/2024
Public

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

Document Table of Contents

ALIAS Property for ATTRIBUTES Directive

Use the ALIAS property 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 property, 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 the DECORATE property to reconcile external name declaration for the target platform.

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