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.

CCS/CCSTUDIO-TM4X: TM4C1294NCPDT

Part Number: CCSTUDIO-TM4X

Tool/software: Code Composer Studio

Dear Supportteam,

I finally managed to change the compiler at our project (Cortex M4, FreeRTOS, C++, CCSv8.3) from TIv18.1.4.LTS to GNUv7.2.1(Linaro). The preinstalled gnu compiler is 32-bit. Is there a way to change this one to a 64-bit version, or will i have to wait until the launch of CCSv9, since this version will be 64-bit only? Thanks in advance.

greetings

L. Thumfart

  • Lukas,

    You can download and install a 64bit gcc distribution if you want. You can point CCS to where it is installed in the preferences dialog.

    The OS shell we create to do the build is 64bit (assuming running 64bit windows) so it would work. I gave this a quick test by adding a pre-build step that called a 64bit application and that worked fine.

    Looking at the ARM developer site I only see win32 versions for the GNU ARM embedded toolchain that ARM publishes for Cortex M and R. What distribution were you looking to use?

    The TI ARM compiler in CCSv9 will be a 64bit binary but the gcc one may still be 32bit. The CCS IDE itself will be a 64bit application. We generally align the gcc version that we bundle with CCS with the version supported by the current SimpleLink SDKs.

    Regards,
    John
  • John,

    The reason i was asking is, that i am currently able to do unit-tests with the Catch2 library which compiles with the GNU v7.2.1 32 bit. There is also a plugin/testrunner so that this tests can be shown in the Unittest envirnoment provided by CDT (Eclipse 4.7.3 and CDT 9.4).

    Furthermore i was able to run googletest but with the restriction to mingw cygwin or a cross gcc. Gtest is built to 64bit (changing the cmakefile to -m32 will malfunction) and i was wondering if its possible to compile with the following 64bit version:

    https://github.com/gnu-mcu-eclipse/arm-none-eabi-gcc/releases/tag/v7.2.1-1.1/

    May im wrong, but at least i want to try that out.

    Regards,

    Lukas

  • Lukas,

    That distribution looks like it has both win32 and win64 packages. We bundle the ones from ARM Ltd. The one we are bundling is a bit older but here is the link to the ARM site: developer.arm.com/.../downloads

    Running a 64bit compiler will be fine in CCSv8. As far as how that specific compiler will behave I can't be sure but it looks like it is based off the same source as the one we are currently bundling (gcc-arm-none-eabi-7-2017-q4-major).

    Regards,
    John