Can I create 64 bit dlls for Windos XP on a 32 bit machine?What compiler should I use for this ?
We are building our 64 bit components for WinXP.With MS compiler, first install the SDK from MS.
Then produce the makefile from your 32 bit project (Project -> "Export Makefile" with MS VS 6.0)Then:SetEnv.Bat /pre64 /RETAILnmake /f your_makefile.mak" "YourProjectName - Win32 Release" CLEANnmake /f your_makefile.mak" "YourProjectName - Win32 Release"
I have no experience with Intel compiler, but in the past there was also an opportunity for sure to make cross compilation also.
Hello Daniel, - I have installed MS SDK on a Windows 2000 machine. - I am using the cl.exe to compile the cpp files. - When i use the link.exe with /Machine:IA64 option i am get the following error:DllTest.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'IA64'
Which means that the obj's that are created X86 compatible. What option can I specify to get IA64 compatible obj's?
You must use cl.exe & link.exe from SDK located in Binwin64 folder.Use WIN64 define (/D"WIN64") when you produce .obj from .c
I believe that "SetEnv.Bat /pre64 /RETAIL"sets all needed pathes, so you should not run into troubles after running it.