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

How to tell the compiler to spit out the exact error messge?

windmaple
Beginner
229 Views

Hi,

I am trying to get some diagnostic tips for Intel compiler. Here is the product:

Intel C/C++ compiler 11.1 64bit windows


The issue we have is:
We installed the compiler in a shared network drive. When we compile our source code (using cygwin and makefile system), the compiler fails at some point like this:

xxx.c
make[5]: *** [.OPT/xxx.obj] Error 128


And it fails at diff places if we restart from scratch. We kind of suspect this is due to the network installation we have: the compiler might have failed when the network resources could not be reliably accessed. But there is no way to confirm since the compiler doesn't say anything.

So my question is: how do I make the compiler spit out why it fails? Is there such a flag to do this? Thanks!

0 Kudos
1 Reply
JenniferJ
Moderator
229 Views
This is probably related to a known-issue when compiling a group of files in one cmd like below.
> icl /c /O2 /MD file1.cpp file2.cpp....... file20.cpp

There is a fix in the latest 11.1. what update of 11.1 are you using? The latest should be 11.1.067.

Jennifer
0 Kudos
Reply