This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building libffi with MSVC


On 10 Dec 2012, at 19:47, Nathan Rajlich wrote:

> Yes those instructions at the top are for a Unix system. For Windows,
> try something like this:
> 
>  $ svn co http://gyp.googlecode.com/svn/trunk gyp
>  $ gyp\gyp.bat -f msvs -G msvs_version=2010 --depth=. libffi.gyp
> 

Thanks Nathan,

I installed gyp from subversion (as above), checked that I was using Python 2.7 and placed libffi.gyp into my main 'ffi' folder (in my particular case, F:\+GTK-SOURCES\gnu-win32\src\libffi).  I then ran the 2nd of the above lines (gyp.bat etc) and I received this error:-

gyp: name 'target_arch' is not defined while evaluating condition 'target_arch== "ia32"'
in libffi.gyp while trying to load libffi.gyp

Does that indicate any obvious problem?

John


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]