Migrating the Library That Uses the Fortran Interface
The procedure of migrating the library that uses the Fortran interface is the same as that in Migrating the Library Using C Language.
To ensure successful linking when C/C++ and Fortran programming languages are used together, add an underscore (_) to the names of the global variables and functions in the C code that exchange information in hybrid programming, or use the compilation option -fno-underscoring. Otherwise, a linking error is reported.
Parent topic: Migrating the Basic Linear Algebra Library (BLAS)