Brad King 80f0201b37 Rewrite FortranCInterface module
This is a new FortranCInterface.cmake module to replace the previous
prototype.  All module support files lie in a FortranCInterface
directory next to it.

This module uses a new approach to detect Fortran symbol mangling.  We
build a single test project which defines symbols in a Fortran library
(one per object-file) and calls them from a Fortran executable.  The
executable links to a C library which defines symbols encoding all known
manglings (one per object-file).  The C library falls back to the
Fortran library for symbols it cannot provide.  Therefore the executable
will always link, but prefers the C-implemented symbols when they match.
These symbols store string literals of the form INFO:symbol[<name>] so
we can parse them out of the executable.

This module also provides a simpler interface.  It always detects the
mangling as soon as it is included.  A single macro is provided to
generate mangling macros and optionally pre-mangled symbols.
2009-08-05 13:40:29 -04:00
..
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2007-05-11 10:22:20 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 14:37:12 -04:00
2009-08-05 13:40:29 -04:00
2008-03-25 11:27:18 -04:00
2008-12-29 18:11:02 -05:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2007-05-11 10:22:20 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2007-05-11 10:22:20 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2008-03-25 11:27:18 -04:00
2009-06-23 12:58:19 -04:00
2008-09-25 10:21:15 -04:00
2008-03-25 11:27:18 -04:00
2002-12-03 11:21:12 -05:00
2009-08-05 10:15:30 -04:00