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
  • Hi mwsealey,

    Thank your answer!

    Now I want to build a bare metal project on the Cortex-A5 soc and NOT to use the linux OS。 The project is coded by C++。 I want to use the ARMCC to compile the project。 So I test the CPP project under the DS-5 tool。

    The --arm-_inux_* parameter sets are for the linux application and armcc does not support these parameter now? Is it correct?

    If I want to build a bare metal project, I only use the armcc to compile the c++ project without the --arm_linux_* parameter? And the lib and headfile which the bare metal project need are under the inlude directory and lib directory under the DS-5 install directory?. I do not care the "SYSROOT=../distribution/filesystem/armv5t_mtx" parameter and directory?.  The directory "SYSROOT" is for the linux apliaction?. Are all correct? Please give me an answer! Thanks!


Reply
  • Hi mwsealey,

    Thank your answer!

    Now I want to build a bare metal project on the Cortex-A5 soc and NOT to use the linux OS。 The project is coded by C++。 I want to use the ARMCC to compile the project。 So I test the CPP project under the DS-5 tool。

    The --arm-_inux_* parameter sets are for the linux application and armcc does not support these parameter now? Is it correct?

    If I want to build a bare metal project, I only use the armcc to compile the c++ project without the --arm_linux_* parameter? And the lib and headfile which the bare metal project need are under the inlude directory and lib directory under the DS-5 install directory?. I do not care the "SYSROOT=../distribution/filesystem/armv5t_mtx" parameter and directory?.  The directory "SYSROOT" is for the linux apliaction?. Are all correct? Please give me an answer! Thanks!


Children
More questions in this forum