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.

CCSTUDIO-C2000: Error with command: gdb --version

Part Number: CCSTUDIO-C2000

Please tell me the compiler setting required to run the C code as a Local.

I have enabled the CDT GDB Debuging under the Window>Preferences>General>Capabilities.

When I build the project there were several warnings but no errors.

Now when I tried to Debug the folder as a Local C/C++ Application, I am getting an error "Error with command: gdb --version
Cannot run program "gdb": Launching failed"

Do I need to add a GCC compiler? If so How do I do that?

  • Suraj,

    Are you attempting to build an example provided in C2000Ware or related software development kits? I'll forward your post to the Code Composer Studio team.

    Regards,

    Ozino

  • Suraj,

    Are you using CCS? If so, is there any particular reason why you are interested in debugging with GDB instead of the CCS debugger?

    Thanks

    ki

  • Hi ki, 

    Yes I am using CCS. I wanted to get more familiar with the CCS environment by implementing local C code. 

    I am still unable to do that. Please let me know if there is a way for the same. 

    Regards,

    Suraj

  • Hi Ozino

    I am just running local C code on CCS to get familiar with the environment.

    Regards, 

    Suraj

  • Suraj,

    So I think what you are asking to do is to setup an x86 C compiler in CCS to build applications and then debug them locally using GDB.  Is that correct?

    If your objective is to get familiar with CCS then that is not going to help much as you are going to be using a different build system and debug environment than what you would be using when developing your actually application for a TI device.

    Your best bet is to get a low cost development kit like a LaunchPad.  They are very inexpensive.  You can then experience the whole environment.  Whle waiting for the LaunchPad to arrive you can also start by using C2000Ware (I am assuming you are looking at a C2000 device) and importing examples, adding your own C code and building.

    Regards,

    John

  • Hi John,

    I have TMS320F28027F Controller with me right now. I will use that for practice, thank you.

    Regards, 

    Suraj