From c84277c53f218cfebaa5731216add9109f999dca Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 27 May 2003 14:52:40 -0500 Subject: [svn-r6918] Purpose: Support for Fortran Absoft compiler on Linux Description: Absoft has its own name translation rules for the names of C functions called from Fortran Solution: Added "if defined H5_ABSOFT" statement to the linux portion of the H5f90i.h file to define correct translations. For now, Fortran users who use ABSOFT fortran compiler have to specify -DH5_ABSOFT flag for their C compiler. Platforms tested: Remote laptop running SuSE8.1 with Absoft compiler, verbena with icc and ifc just to make sure that our current linux configuration still works. Since it is a pure Linux change, I didn't test it on other systems. Misc. update: --- fortran/src/H5f90i.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fortran/src/H5f90i.h b/fortran/src/H5f90i.h index 1c04008..465d9ff 100644 --- a/fortran/src/H5f90i.h +++ b/fortran/src/H5f90i.h @@ -104,6 +104,11 @@ typedef int int_f; typedef int hid_t_f; typedef float real_f; #define FNAME_POST_UNDERSCORE +#if defined H5_ABSOFT +#define DF_CAPFNAMES +#define FNAME(x) x +#endif /*H5_ABSOFT*/ + #define _fcdtocp(desc) (desc) #endif /*LINUX*/ -- cgit v0.12