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.

Problem with a new Eclisep CDT after CCS 5.5 on Linux 12.04, 64-bit

Hi,

My PC had a Ubuntu 12.04, installed CCS 5.5. Now I would like to debug some C projects using GCC on Ubuntu OS. I find that CCS 5.5 has no such debug options for gcc on Ubuntu, see below picture please.

Then, I download an Eclipse CDT for C/C++, which has an option: 'C/C++ Application' under 'Debug Configuration'. That is what I want and I can debug a general C/C++ project.

The problem now is that when I run CCS 5.5, it calls the new installed Eclipse, with the new general C/C++ projects. The original CCS projects are not loaded at all.

I would like to run both CCS projects and Ubuntu gcc projects using Eclipse. Could you tell me how to solve this problem?

Thanks,

  • A little more information on the problem is here. The new standalone Eclipse is on the path:

    /home/u12_rrj/Downloads/eclipse

    The original TI CCS is on the path:

    /home/u12_rrj/ti/ccsv5

    From the following picture, it is found that CCS uses standalone C project settings, (but I don't know how to correct it).

    Path: '/home/u12_rrj/workspace_v5_5_makefilePrj0' is a standalone C project (not CCS project).

    It looks like both Eclipse using the save project settings, but I don't know how to keep them separately, i.e. CCS calls CCS projects, while standalone Eclipse calls its C projects.

    Thanks,

  • Hi,

    The readme_eclipse.html file is attached here. I am not sure it is a CCS 5.5 compatible release or not.

    It is release 4.5:

    Eclipse Project Release Notes

    Release 4.5.0
    Last revised June 3, 2015

    This software is OSI Certified Open Source Software.
    OSI Certified is a certification mark of the Open Source Initiative. 

    1. Target Operating Environments
    2. Compatibility with Previous Releases
    3. Known Issues
    4. Running Eclipse
    5. Upgrading a Workspace from a Previous Release
    6. Interoperability with Previous Releases
    Appendix 1: Execution Environment by Bundle

    1. Target Operating Environments

    In order to remain current, each Eclipse Project release targets reasonably current operating environments.

    Most of the Eclipse SDK is "pure" Java code and has no direct dependence on the underlying operating system. The chief dependence is therefore on the Java Platform itself. Portions are targeted to specific classes of operating environments, requiring their source code to only reference facilities available in particular class libraries (e.g. J2ME Foundation 1.1, J2SE 1.4, Java 5, etc).

    In general, the 4.5 release of the Eclipse Project is developed on a mix of Java SE 7 and Java SE 8 VMs. As such, the Eclipse SDK as a whole is targeted at all modern, desktop Java VMs. Most functionality is available for Java SE 7 level development everywhere, and extended development capabilities are made available on the VMs that support them.

    Appendix 1 contains a table that indicates the class library level required for each bundle.

    There are many different implementations of the Java Platform running atop a variety of operating systems. We focus our testing on a handful of popular combinations of operating system and Java Platform; these are our reference platforms. Eclipse undoubtedly runs fine in many operating environments beyond the reference platforms we test. However, since we do not systematically test them we cannot vouch for them. Problems encountered when running Eclipse on a non-reference platform that cannot be recreated on any reference platform will be given lower priority than problems with running Eclipse on a reference platform.

    Eclipse 4.5 is tested and validated on the following reference platforms (this list is updated over the course of the release cycle)

    ...

    The tar file name is:

    eclipse-cpp-mars-R-linux-gtk-x86_64.tar.gz

    If I want to have the 'C/C++ Application' setting in Debug configuration, what options can get it there?

    Thanks,

  • I find a relevant thread: e2e.ti.com/.../736711
    but I have no idea what Eclipse can work with CCS 5.5 (install CCS 5.5 on a standalone Eclipse as plug-in?)
    Could you point me a link on compatible Eclipse with CCS 5.5?
    Thanks,
  • Jeff Wong1 said:
    Now I would like to debug some C projects using GCC on Ubuntu OS. I find that CCS 5.5 has no such debug options for gcc on Ubuntu, see below picture please.

    In CCS open Window -> Preferences. Under General -> Capabilities enable "CDT GDB Debugging". Apply this change.

    The Debug Configurations should now have the ability to use the native GDB launch settings for "C/C++ Application", "C/C++ Attach to Application" or "C/C++ Postmortem Debugger".