1747993 Members
4736 Online
108756 Solutions
New Discussion юеВ

Re: Compilation Issue

 
SOLVED
Go to solution
Santhosh Kurian_1
Occasional Advisor

Re: Compilation Issue

The result after adding the flag is

cc: internal error 1901: cannot exec /ProdCommon/opt/langtools/lbin/cpp.ansi: 2 (No such file or directory)
Dennis Handly
Acclaimed Contributor

Re: Compilation Issue

Again: Where is the compiler installed?
Why do you have headers in this directory tree: /ProdCommon/opt/aCC

If you have an official installation of aC++, you must also have /opt/langtools/lbin/cpp.ansi.
Dennis Handly
Acclaimed Contributor

Re: Compilation Issue

While you are tracking down cpp.ansi, you could compile with "-E -.i" to get a .i file.

(Then you can look at that .i file for anything unusual around those errors.)

Then you can compile that .i file instead of your .c. This will show the expanded macros in the error messages.