Why was it decided to use static linking under Windows?<br><br>The main advantage is that users do not need to worry about<br>placing the directory containing Rcpp.dll in their search<br>path. A disadvantage is that the client executable will<br>
be larger (but not by a large fraction in my testing).<br><br>Basically, <whatever>/library/Rcpp/lib/libRcpp.a can be replaced with<br>-Wl,--enable-auto-import <whatever>/library/Rcpp/libs/Rcpp.dll, and<br>then libRcpp.a is not needed.<br>
<br>There appear to be subtle differences between the way<br>things work under 32bit and 64bit Windows, having something<br>to do with the way DLL's are mapped at startup, and sometimes<br>requiring use of a cygwin tool named rebase.exe. Some<br>
insight into the issues can be found on the Wiki page for<br>Portable Executable (PE) format.<br><br>Dominick<br><br>