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

Build and run 32/64-bit program on on Windows 64/32-bit

weichao
Beginner
1,000 Views
I am going to have a EM64T or AMD64 system.
1. Can I build and run a 32-bit program on Windows XP 64-bit?
2. Can I build and run a 64-bit program on Windows XP 32-bit?
0 Kudos
3 Replies
TimP
Honored Contributor III
1,000 Views
1. Windows 32-bit programs run with full support on 64-bit Windows. Compiling 32-bit applications on 64-bit Windows will not be supported until Microsoft releases Visual Studio 2005. It may be possible to hack together a 32-bit compile environment with current releases; there is nothing inherently preventing it.
2. Windows 64-bit programs can be built on 32-bit Windows. There is no foreseeable practical way to run 64-bit applications on a 32-bit platform.
0 Kudos
Zhanghong_T_
Novice
1,000 Views
Can you tell me how can I compile a 64 bit program on 32-bit windows for AMD64? I plan to build a Fortran static library for AMD64, the I use the library in a C++ project, which is also used in AMD64. Can I build both the Fortran library and C++ project on 32-bit windows? What environment should I have except for VS 2005?
Thanks,
Zhanghong Tang
0 Kudos
Steven_L_Intel1
Employee
1,000 Views
First, you need the Microsoft Platform SDK for Windows Server 2003, build 1289 or higher. You would then use the Intel Fortran compiler for Intel EM64T to build the application. You don't need Visual Studio for this, as it is done from the command line. (And VS2005 is not supported yet anyway.) Use the /QxW switch when targeting AMD processors.

You can do all of this on a 32-bit Windows system - you just can't run or debug the program there.
0 Kudos
Reply