Page 1 of 1

xcc2clang.exe has stopped working

Posted: Tue Apr 03, 2018 4:33 pm
by ssmilo
I started Community_14.3.2 (build 25550, Sep-30-2017), then it shows
the error message "xcc2clang.exe has stopped working". If I click
Close Program on the error message, then it just pops up again. See
the attachment for the message.

I loaded version 14.2.4 and the same thing happened.

Thank you for your help.

Image

Re: xcc2clang.exe has stopped working

Posted: Wed Apr 04, 2018 10:17 am
by robertxmos
Hi ssmilo,

xcc2clang.exe is the C/C++ compiler (clang based!).
Are you compiling a project with C/C++ code when the error occurs?
Is there any output in the console?
Could you click 'Debug' to see if you can get more information.

Under normal operation xtimecomposer call xmake build systems, which calls xcc driver, which calls xcc2clang C- compiler.

Thank you
Robert

Re: xcc2clang.exe has stopped working

Posted: Thu Apr 05, 2018 3:04 pm
by ssmilo
I start Community_14.3.2 or 14.2.4 and without doing anything else, the error occurs.
Sheldon

Re: xcc2clang.exe has stopped working

Posted: Thu Apr 05, 2018 4:18 pm
by robertxmos
Hi Sheldon,
I am at a loss as to what is going on viz:
1. why/where/who is running xcc2clang.exe.
2. why it has stopped working.
Do you have a workspace? Are you loading a project?
(I can remove the xcc2clang.exe from the installation without any problems - as long as I don't try to build any C files).

Can you build a C projects from the command line?
download an example hellow world C programe and:
xcc -target=STARTKIT helloworld.c