We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Now I want to use armcc to compile the c++ program and I want to find a example under DS-5 studio. I find under the DS-5 directory there is a CPP directory. There is a c++ example program for me to refer to. But after I study the makefile file, I have some question to ask for help. The first question is why the c++ program must include the "SYSROOT = ../distribution/filesystem/armv5t_mtx". The directory "lib and include" under the DS-5 directory can not meet the c++ program's need? The c++ program need the lib and headfile under the SYSROOT location? The second question is there is a command line paramter "--arm-linux-configure-file" and what is the paramter's function. I do not know it all. Please tell me the answer. Thanks!
If you are just trying to build a simple bare-metal application, then no special options are needed. Simply call your source file a .cpp file, and the compiler will build accordingly.
The options above are related to building a linux application with the ARM compiler. This is a deprecated feature - we would recommend using the provided gcc instead if you are doing this.