Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

How can I generate code for IA-32 architecture on an EM64T-based Linux systems with 10.1 compiler

Last post 07-03-2008, 10:17 AM by bluegenep. 2 replies.
Sort Posts: Previous Next
 07-03-2008, 8:43 AM 30258207  

How can I generate code for IA-32 architecture on an EM64T-based Linux systems with 10.1 compiler

It seems the -m32 option is only available for Mac OS X from the document:

http://softwarecommunity.intel.com/isn/downloads/softwareproducts/pdfs/347599.pdf

 
 07-03-2008, 8:53 AM 30258210 in reply to 30258207  

Re: How can I generate code for IA-32 architecture with 10.1 compiler on an EM64T-based Linux systems

Intel compilers don't recognize -m32.  The separate ia32 compilers may be installed on 64-bit linux, and made active by sourcing their own environment script, e.g. /opt/intel/cc/10.1.017/bin/iccvars.[c]sh.   There is a download package which includes both the 32- and 64-bit compiler, and should give option to install both. 

Also, there is an ia32-only compiler download, which may be installed separately (no conflict with 64-bit).  When I had trouble on 64-bit linux with its top level install script, I was able to run the lower level install script "data/install-cc.sh --run"

The 32-bit icpc is compatible with  g++ -m32, and requires that compiler be working on PATH.

 
 07-03-2008, 10:17 AM 30258218 in reply to 30258210  

Re: How can I generate code for IA-32 architecture with 10.1 compiler on an EM64T-based Linux systems

Thanks.

I remember I tried .../cc/9.1/... on Intel 64-bit Linux and it failed to compile my application code (it works for simple code). And the Installation Guide of 9.1 says .../cce/9.1/... should be used on Intel 64-bit Linux (This also can be found at the Installation Guide of 10.1).

  • /opt/intel/cc/10.1.xxx (for IA-32 and IA-64)
  • /opt/intel/cce/10.1.xxx (for Intel® 64)
  • I am not sure Intel supports /opt/intel/cc/10.1 to build 32-bit application on Intel 64-bit architecture.

     

     
    View as RSS news feed in XML

    Shortcuts


    Tags For This Post

    ...

    Community Tags

    ...