- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[ 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)
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-V (works on both Linux and Windows).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[ 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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...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"
...

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page