Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Show version number

eldiener
New Contributor I
4,781 Views

For Intel C++ on Windows what command line option prints the version number of the compiler ?

For Intel C++ on Linux what command line option prints the version number of the compiler ?

0 Kudos
1 Solution
SergeyKostrov
Valued Contributor II
4,781 Views
[ For Windows - no option is needed to display Version and Build Number ] ... C:\>icl.exe Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.0.149 Build 20130118 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. icl: command line error: no files specified; for help type "icl /help" ... [ For Linux - options -v or -V ] ... ubuntu@...:~$ icpc -V Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. ubuntu@...:~$ icpc -v icpc version 17.0.1 (gcc version 5.0.0 compatibility)

View solution in original post

0 Kudos
4 Replies
Judith_W_Intel
Employee
4,781 Views

 

-V (works on both Linux and Windows).

 

0 Kudos
SergeyKostrov
Valued Contributor II
4,782 Views
[ For Windows - no option is needed to display Version and Build Number ] ... C:\>icl.exe Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.0.149 Build 20130118 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. icl: command line error: no files specified; for help type "icl /help" ... [ For Linux - options -v or -V ] ... ubuntu@...:~$ icpc -V Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.132 Build 20161005 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. ubuntu@...:~$ icpc -v icpc version 17.0.1 (gcc version 5.0.0 compatibility)
0 Kudos
eldiener
New Contributor I
4,781 Views

Judith W. (Intel) wrote:

 

-V (works on both Linux and Windows).

 

On Windows it does not show up as a command line option when I try 'icl /help'. Perhaps it should.

0 Kudos
SergeyKostrov
Valued Contributor II
4,780 Views
>>...On Windows it does not show up as a command line option when I try 'icl /help'. Perhaps it should. It is not clear why option -V is not displayed when icl /help is executed. I would consider that as undocumented feature of the Intel C++ compiler. Version and build information of the compiler are displayed when icl /help or icl are executed. ... C:\>icl.exe /help Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.0.149 Build 20130118 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. ... C:\>icl Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.0.149 Build 20130118 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. icl: command line error: no files specified; for help type "icl /help" ...
0 Kudos
Reply