Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

How to compile c++ code on SCC?

xforcex
Beginner
173 Views
Dear guys,
We have been trying to compile C++ code with the cross compiler on SCC. But there have been problems. We are not able to compile any C++ code, even "hello world" programs. But C programs compiles and runs well.
We was able to compile c++ code on SCC in Intel. We are wondering if there is any trick in setting up the environment so that we can compile C++ code for SCC.
Best Regards,
Yubei
0 Kudos
2 Replies
JenniferJ
Moderator
173 Views
Did you try the steps posted to here - http://communities.intel.com/message/100672 ?

Jennifer
xforcex
Beginner
173 Views
Hi Jennifer,

Thanks for your reply. I have tried that recipe and can only compile C++ code without templates. It seems that even the author thinks it hard to build C++ code with templates. Our proj. is full of templates and as a programming model flexibility is important, so adding a lot explicit template instantiation may not be a good way to tackle this problem...

Sincerely,
Yubei
Reply