(cross posted from C++ forum -- sorry if you happen to browse both)
I have run into the infamous double-underscore issue.
I have a library that is written in C and a program that must link with that library written in Fortran 90. The ifort compiler insists on trying to link using single underscore suffixes for the functions it is using from the C library. Originally I used gcc to compile the C library but it produced double underscores. I have tried to compile the C library using icc but I still get double underscores as symbols. Any ideas how I can get ifort to link with double underscores or get icc to not create double underscores?