- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
# what happened
sample code("main.c"):
```
int main(){}
```
when run `icc main.c`, it reports:
```
icc: error #10417: Problem setting up the Intel(R) Compiler compilation environment. Requires 'install path' setting gathered from 'gcc'
```
# environments
arch linux
```
Linux zhanghao 4.14.15-1-ARCH #1 SMP PREEMPT Tue Jan 23 21:49:25 UTC 2018 x86_64 GNU/Linux
```
gcc 7.3
```
gcc (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
icc from `parallel_studio_xe_2018_update1_cluster_edition`
# some details
`strace -f icc ./main.c` result is in attach
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It seems to me that the GCC version you have is unsupported in ICC 18.0.
Regards,
Viet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the GCC version supported by ICC 18.0? I have the same issue with GCC 6.3
Thanks in advance for your help.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find out where is wrong now ...
when icc compile source, icc will call `gcc --print-search-dirs -m64`
icc expect it output `install: /usr/lib/`
but in my PC, I set environment variable `LC_MESSAGES=zh_CN.UTF-8`
so, its output is `安装:/usr/lib/...` indeed.
then icc cannot understand it
to solve it, run something like `export LC_MESSAGES=POSIX` before run icc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find GCC supported versions at https://software.intel.com/en-us/articles/intel-c-compiler-180-release-notes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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