This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armcc compile c   error  under DS-5 tool

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!

Parents
  • 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.

Reply
  • 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.

Children
No data