Hello, I am building a Fortran 77, 32 bit static library application on a 64 bit windows machine. The compiler is vs. 11.0.072. When building from the command prompt using a make file, the name decoration (underscore prefix) is missing. This library is called from C using the C calling convention (_decl or /Gd). The fortran build options are shown below. In the mean time I have been able to build the library correctly (with underscore prefix decoration) with a visual studio project (intel compiler).
Hi, Thanks for the response. the /assume option applies to appending an underscore to the end of the function name. The name decoration prefixes the underscore. After some surfing on the internet, I found an intel source that says that this has been known to happen.Perhaps the compiler just gets hung up because the 32 bit app is being built on an x64 architecture. Strange though that it correctly generates the name decoration when building inside of visual studio.