Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

How to compile a 64bits all from VC8?

vectorizor
New Contributor I
472 Views
Hi all,

Probably a dumb question: I know the Intel compiler can generate 64 bits code, but how do I tell it to do so with Visual Studio 2005?! Basically, I have a WinXP 32 bits, running Intel Compiler 10.1, and I would like to generate a 64 bits version of my dll. How to do that?

Thanks in advance.

ALexis


0 Kudos
1 Solution
AndreyKarpov
New Contributor I
472 Views
0 Kudos
3 Replies
TimP
Honored Contributor III
472 Views
Visual Studio supports cross compiling. You must add the option X64 component under C++ in Visual Studio configuration, and install the Intel compiler Intel64 version, in addition to what you have already. Then, you either start the 64-bit compiler command window, or select X64 in Visual Studio, same as on an X64 platform.
In 10.1, there was no 64-bit native compiler, so you would be running exactly the same compiler components as you would on an X64 OS.
The X64 builds will not run on the 32-bit OS.
0 Kudos
AndreyKarpov
New Contributor I
473 Views

Relevant article about start port to 64-bit:
Seven Steps of Migrating a Program to a 64-bit System

0 Kudos
vectorizor
New Contributor I
472 Views
Thanks very much Andrey, excellent source of information!!
0 Kudos
Reply