<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link problems for mixed C/FORTRAN 32bit builds on 64bit machine in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-problems-for-mixed-C-FORTRAN-32bit-builds-on-64bit-machine/m-p/912640#M83797</link>
    <description>I've got a mix of C and FORTRAN that has a C mainline, which calls routines in a FORTRAN library, which in turn calls routines that exist in a C library. I am building on an XP64 machine using IFORT 10.1.021 in visual studio. &lt;BR /&gt;&lt;BR /&gt;Everything works fine when building a 64bit configuration, but I'm having problems linking a 32bit configuration. In particular, all of the external subroutines/functions defined in the C library are not being resolved when the FORTRAN library is linked into the C mainline. I get a "error LNK2019 : unresolved external symbol _CLIBMETHOD referenced from function _FLIBMETHOD" when the FORTRAN library is linked into the C mainline.&lt;BR /&gt;&lt;BR /&gt;A dumpbin of FORTRAN library shows external dependencies on _CLIBMETHOD. A dumpbin of the C library shows symbols like _CLIBMETHOD@0.&lt;BR /&gt;&lt;BR /&gt;I'd thought that there was some sort of lead uderscore problem, but now that I look at the C lib symbol, I can't help but wonder if its the extra @0 that's the source of my problems...&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help/advice,&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 13 Jan 2010 15:29:02 GMT</pubDate>
    <dc:creator>steve_reussansys_com</dc:creator>
    <dc:date>2010-01-13T15:29:02Z</dc:date>
    <item>
      <title>Link problems for mixed C/FORTRAN 32bit builds on 64bit machine</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-problems-for-mixed-C-FORTRAN-32bit-builds-on-64bit-machine/m-p/912640#M83797</link>
      <description>I've got a mix of C and FORTRAN that has a C mainline, which calls routines in a FORTRAN library, which in turn calls routines that exist in a C library. I am building on an XP64 machine using IFORT 10.1.021 in visual studio. &lt;BR /&gt;&lt;BR /&gt;Everything works fine when building a 64bit configuration, but I'm having problems linking a 32bit configuration. In particular, all of the external subroutines/functions defined in the C library are not being resolved when the FORTRAN library is linked into the C mainline. I get a "error LNK2019 : unresolved external symbol _CLIBMETHOD referenced from function _FLIBMETHOD" when the FORTRAN library is linked into the C mainline.&lt;BR /&gt;&lt;BR /&gt;A dumpbin of FORTRAN library shows external dependencies on _CLIBMETHOD. A dumpbin of the C library shows symbols like _CLIBMETHOD@0.&lt;BR /&gt;&lt;BR /&gt;I'd thought that there was some sort of lead uderscore problem, but now that I look at the C lib symbol, I can't help but wonder if its the extra @0 that's the source of my problems...&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help/advice,&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 13 Jan 2010 15:29:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-problems-for-mixed-C-FORTRAN-32bit-builds-on-64bit-machine/m-p/912640#M83797</guid>
      <dc:creator>steve_reussansys_com</dc:creator>
      <dc:date>2010-01-13T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Link problems for mixed C/FORTRAN 32bit builds on 64bit mac</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-problems-for-mixed-C-FORTRAN-32bit-builds-on-64bit-machine/m-p/912641#M83798</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Yes, the @0 indicates that the Fortran library is built using the STDCALL calling convention. Perhaps this was a CVF project converted to Intel Fortran? &lt;BR /&gt;&lt;BR /&gt;Right click on the Fortran project, select Properties. Expand the property tree Fortran &amp;gt; External Procedures. Change Calling convention to Default. Change String Length Argument Passing to "After All Arguments". Rebuild.&lt;BR /&gt;&lt;BR /&gt;By the way, it is Fortran, not FORTRAN.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jan 2010 17:03:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Link-problems-for-mixed-C-FORTRAN-32bit-builds-on-64bit-machine/m-p/912641#M83798</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-01-13T17:03:26Z</dc:date>
    </item>
  </channel>
</rss>

