<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I developed a Rcpp module which compiles and works fine on linux and
    win32 but fails to compile on win64.<br>
    <br>
    This module makes a "call lib" to a dll compiled with visual and the
    "R CMD INSTALL" fails during the link process with a message <br>
    <blockquote>"skipping incompatible NameOFMyLibraryCompiledWithVisual
      [...] cannot find -lNameOFMyLibraryCompiledWithVisual"<br>
    </blockquote>
    <br>
    After a quick goolgle seach I discovered that it was due to the fact
    that my Rcpp module was compiled in 32 bits mode and Visual built a
    64 bits library.<br>
    <br>
    This is confirmed by the traces I get on my DOS windows when I
    launch a R CMD INSTALL<br>
    <blockquote>g++ -m32 -share etc ... etc ...<br>
    </blockquote>
    <br>
    I do not understand why the R command calls the win32 (flag -m32)
    version of minGW. I set my path to <br>
    <blockquote>set
PATH=C:\R\Rtools\bin;C:\R\Rtools\gcc-4.6.3\bin;C:\R\R-3.0.2\bin\x64;C:\Windows;C:\Windows\system32;<br>
    </blockquote>
    as required I think ? So I do not understand why the (-m32) flag is
    set. I hope someone in the mailing list already had the problem and
    can answer me ?<br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>