Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

ipsxe-comp-vars.bat always sets TARGET_ARCH=intel64

I have intel parallel studio 2017, I am looking at ipsxe-comp-vars.bat :

set TARGET_ARCH=

:ParseArgs
:: Parse the incoming arguments
if /i "%1"==""        goto Build
if /i "%1"=="ia32_intel64" (set TARGET_ARCH=intel64) & shift & goto ParseArgs
if /i "%1"=="intel64"      (set TARGET_ARCH=intel64) & shift & goto ParseArgs
shift & goto ParseArgs

:Build

:: stuff

It seems that `TARGET_ARCH=intel64` even when the first argument is `ia32_intel64`.

Why ?

Now, the start menu (in Intel) link towards this script is augmented with variables "intel64 vs2015".

Regarding the whole script (see attachement) I don't even see how the " vs2015" bit is treated ?

0 Kudos
1 Reply
Highlighted
Black Belt
1 View

ia32_intel64 once meant a

ia32_intel64 once meant a cross-compiler that ran on IA-32 but built for Intel 64. That no longer exists, so there's no distinction made. If you want to target IA-32, use "ia32" as the argument.

The "vs2015" is used when you have multiple VS versions installed and you want to select one that isn't the latest.

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos