Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

win x64 compile - how?

jim_cox
Beginner
1,470 Views
I'm just starting to look at an x64 version of our programs.

My apologies if this seems a silly noob question, but...

How do I create a program for Windows x64 ?

I can make a new project - but it defaults to win32 with no win64.

What changes would be needed in the configuration manager to make it compile and link?

Note I'm working on an XP box, and I'm not even sure if I have the right compiler installed

Thankx yet again

Jimmy



0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,470 Views
First, you need to make sure you have the Visual Studio 64-bit support installed:

If you are using Visual Studio 2005/2008 Standard Edition or Visual Studio 2008 Shell, no
configuration is needed to build Intel 64 architecture applications. For other editions:

1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005
(or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel.

Once this is done, open Visual Studio and go to Tools > Options > Intel Visual Fortran > Compilers. You will see a dropdown list labelled "Platform". It will default to Win32 - change it to x64 and see if the other fields on that dialog are filled in. If they are, you have the 64-bit compiler.

To select a 64-bit build of a project, select Build > Configuration Manager. Under Active Solution Platform, change Win32 to . It should select x64 as a configuration, click OK.

Now your solution is configured to build a 64-bit application.

I assume you know that Windows x64 will run Win32 applications just fine. You would want to build an x64 application if you needed the additional virtual address space.

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,471 Views
First, you need to make sure you have the Visual Studio 64-bit support installed:

If you are using Visual Studio 2005/2008 Standard Edition or Visual Studio 2008 Shell, no
configuration is needed to build Intel 64 architecture applications. For other editions:

1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005
(or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear.
Click Next.
2. Click Add or Remove Features
3. Under Select features to install, expand Language Tools > Visual C++
4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the
box is already checked, click Cancel.

Once this is done, open Visual Studio and go to Tools > Options > Intel Visual Fortran > Compilers. You will see a dropdown list labelled "Platform". It will default to Win32 - change it to x64 and see if the other fields on that dialog are filled in. If they are, you have the 64-bit compiler.

To select a 64-bit build of a project, select Build > Configuration Manager. Under Active Solution Platform, change Win32 to . It should select x64 as a configuration, click OK.

Now your solution is configured to build a 64-bit application.

I assume you know that Windows x64 will run Win32 applications just fine. You would want to build an x64 application if you needed the additional virtual address space.
0 Kudos
jim_cox
Beginner
1,470 Views
Wow - that was painless - thankx :)
0 Kudos
Reply