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

Command line cross compiling (i.e. making 32 bit code on XP64)

carlls
Beginner
293 Views
Greetings:

I need to create both 32 and 64 bit versions of my libraries in stead of requiring two machines can I

- Create 32 bit code on an XP64 Box
- Create 64 bit code on an XP32 Box

Now pretty certain I did the later, but can not remember the flags.

So what are the flags for both cases?

Regards
Carl

0 Kudos
1 Reply
Steven_L_Intel1
Employee
293 Views
It is not "flags". You need to establish the correct command-line build environment. There are shortcuts installed that are Build Environment for IA-32 or Intel 64 applications, or you can invoke the ifortvars.bat script with either "ia32" or "intel64" as the argument (this is for version 11) to select the proper one. Please see the release notes for details on this.
0 Kudos
Reply