Dimiter 'malkia' Stanev wrote: > On 6/11/2012 2:38 PM, Mike Pall wrote: > >Dimiter 'malkia' Stanev wrote: > >>This is with Windows WDK 7.1, but possibly won't work with msvc/32-bit > >> > >>buildvm_peobj.c > >>e:\p\luajit\src\host\buildvm_arch.h(1202) : error C2039: 'nfpr' : is > >>not a member of 'CCallState' > >> E:\p\luajit\src\lj_ccall.h(125) : see declaration of 'CCallState' > >Works for me with the Windows SDK 7.0. > > > >Please start a Windows SDK Command Shell prompt and try: > > > > echo %CPU% > > echo %PROCESSOR_ARCHITECTURE% > > > >--Mike > > But I'm using WDK, not SDK. Seems easy to fix it on my side. > Btw, I think it's TARGET_CPU and not CPU (at least from the Windows > SDK 7.1 setenv.bat) Well, I could check for TARGET_CPU, too. But before I change that, please actually try both echo %TARGET_CPU% and echo %CPU% in your environment. > And PROCESSOR_ARCHITECTURE should be set to the current process bitness, > which would be cmd.exe in this case, and on my machine (Windows 7 > 64-bit) it's AMD64. Not sure I should fall back to that. But if neither CPU, nor TARGET_CPU is set, I'd assume it's an ancient MSVC installation and then it's probably x86 (and not x64). --Mike