Skip to content

Creating a Windows import lib from R.dll (x64)?

3 messages · Dominick Samperi, Joe Conway

#
On 10/18/2010 10:00 PM, Dominick Samperi wrote:
I successfully did the following recently in order to build 64 bit PL/R
on Windows 7:

----------------
dumpbin /exports R.dll > R.dump.csv

Note that I used the csv extension so OpenOffice would import the file
into a spreadsheet conveniently.

Edit R.dump.csv to produce a one column file of symbols called R.def.
Add the following two lines to the top of the file:
 LIBRARY R
 EXPORTS

Then run the following using R.def

 lib /def:R.def /out:R.lib
----------------

HTH,

Joe