- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I create 64 bit dlls for Windos XP on a 32 bit machine?
What compiler should I use for this ?
- Mohan
What compiler should I use for this ?
- Mohan
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mohan,
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 /RETAIL
nmake /f your_makefile.mak" "YourProjectName - Win32 Release" CLEAN
nmake /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.
-Daniel
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 /RETAIL
nmake /f your_makefile.mak" "YourProjectName - Win32 Release" CLEAN
nmake /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.
-Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Thanks,
Mohan
- 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?
Thanks,
Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You must use cl.exe & link.exe from SDK located in Binwin64 folder.
Use WIN64 define (/D"WIN64") when you produce .obj from .c
Use WIN64 define (/D"WIN64") when you produce .obj from .c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mohan,
I believe that "SetEnv.Bat /pre64 /RETAIL"
sets all needed pathes, so you should not run into troubles after running it.
-Daniel
I believe that "SetEnv.Bat /pre64 /RETAIL"
sets all needed pathes, so you should not run into troubles after running it.
-Daniel
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page