Hello,
I usually compile on linux-like systems with -fno-second- underscore to avoid this problem. Best regards

Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 68505
Mobile: +41 76 487 4843



On 28 Oct 2008, at 03:26, Bill Hoffman wrote:

George Neill wrote:
Bill,
On Mon, Oct 27, 2008 at 8:46 PM, Bill Hoffman <[EMAIL PROTECTED] > wrote:
I have just checked in a module to help with the linking of Fortran from C. I would appreciate some feedback, and perhaps some testing with different Fortran compilers. Does anyone know of a web site that lists different
Fortran compiler name mangling schemes?
Not sure if this will help you much, but,
http://en.wikipedia.org/wiki/Name_mangling#Name_mangling_in_Fortran
speaks of a few.
I had most of that covered, but did not know this:

already containing an underscore ("FOO_BAR") has two underscores appended ("foo_bar__"),

That is a tricky one, I will add a check for.

Thanks.

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to