The example about c++ progran under DS-5 CPP directory is compiled by me with the armcc ,not gcc. But there is an error when compile。
Error: C3321E: automatic configuration failed - could not determine configuration from GCC
make: *** [arm_linux_config.xml] Error 1
I do not know the reason. Please tell me the answer. Thanks!
Select File -> New -> C++ Project from the menu.
Then select Bare Metal Executable, empty project, and ARM Compiler 5 as the compiler. Give the project a name. and click OK.
In the Project Explorer view, select your project, right click, New -> File, and create a file with a .cpp ending (this is a necessary ending).
Write some code therein, for example:
#include <iostream> using namespace std; int main() { cout << "Hello C++ World" << endl; return 0; }
This should now just build when you select from the menu Project -> Build Project.