Teach FortranCInterface about g77 mangling

The old GNU g77 Fortran compiler uses the suffix '__' for symbols
containing an underscore in their name.
This commit is contained in:
Brad King 2009-08-06 07:53:41 -04:00
parent 8dd02cb78d
commit f33bcd6c50
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ int main() { return 0; }
set(global_symbols set(global_symbols
my_sub # VisualAge my_sub # VisualAge
my_sub_ # GNU, Intel, HP, SunPro, MIPSpro my_sub_ # GNU, Intel, HP, SunPro, MIPSpro
my_sub__ # GNU g77
mysub # VisualAge mysub # VisualAge
mysub_ # GNU, Intel, HP, SunPro, MIPSpro mysub_ # GNU, Intel, HP, SunPro, MIPSpro
${FortranCInterface_GLOBAL_SYMBOLS} ${FortranCInterface_GLOBAL_SYMBOLS}