This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/AM5728: Compilation issues with TI compiler

Part Number: AM5728

Tool/software: TI C/C++ Compiler

Hello,

I would like to do some application debugging. For the initial program, I just want to build a hello world program with TI compiler. I am getting the following issues. 

src/subdir.mk:18: recipe for target 'src/HelloWorld.o' failed

error: bad argument to option -ms: should be one of {on,off}
make: *** [src/HelloWorld.o] Error 1

Please find the video attached to this post. It details the compiler and build settings I am using. Could you please let me know if my settings are fine and why the build is failing? 

 

  • Your mistake is at the very beginning.  You need to create a CCS Project, not a C Project.  Please see the article Projects and Build Handbook for CCS.  Focus on the sections titled Type of Projects and Creating New Projects.

    Thanks and regards,

    -George

  • Thank you. I will have a look at the build handbook. I was able to build the project after choosing "CCS Project". 

    I have a small related question. In the picture attached below, does that folder contain the Linaro compiler for ARM? There is no readme or anything in that folder. 

    user@repel ~/ti/ccs720/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update % ls -al 

    total 24
    drwxrwxr-x 6 user user 4096 Aug  9 18:33 ./
    drwxrwxr-x 6 user user 4096 Aug  9 18:33 ../
    drwxr-xr-x 6 user user 4096 Feb 16 20:02 arm-none-eabi/
    drwxr-xr-x 2 user user 4096 Feb 16 20:05 bin/
    drwxr-xr-x 3 user user 4096 Feb 16 20:05 lib/
    drwxr-xr-x 4 user user 4096 Feb 16 19:47 share/

  • solid repellent said:
    In the picture attached below, does that folder contain the Linaro compiler for ARM?

    Yes.  -George