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: Build on Linux container

Part Number: CCSTUDIO


Tool/software:

Hello CCS expert,

1) Is it possible to build with your CCS compiler from the command line on Linux Containers?

Specifically, I assumed to run a build on a Linux container in Pipeline using Jenkins and acquire build results.

For reference, there are compilers made by IAR Systems that can be used on Linux containers.

The following URL describes how to build using IAR Systems compilers on Linux containers.

github.com/.../containers

2) If above is possible, will the build results (FW binary files, map files, etc.) in Linux containers be exactly the same as if built in Windows version CCSTUDIO? 

Regards,

A.Fujinaka

  • Is it possible to build with your CCS compiler from the command line

    Yes

    Is it possible to build with your CCS compiler from the command line on Linux Containers?

    Yes.  Although we do not provide any container images similar to the ones from IAR.

    If above is possible, will the build results (FW binary files, map files, etc.) in Linux containers be exactly the same as if built in Windows version CCSTUDIO? 

    It is possible.  That said, identical builds are not a requirement for which we test or document.  Here are some typical details which must match between the builds.

    • Source code
    • Tools versions
    • Build options
    • The order in which all inputs are specified to the linker

    If you match all those details, but the final executable does not match, I would be willing to help you find out why.

    Thanks and regards,

    -George

  • Hello George,

    Thanks for your answer.

    which version of CCS can be built from the command line on Linux Containers?

    (I would like to check if the CCS20.1.1.x  is compatible.)

    Regards,

    A.Fujinaka

  • Fujinaka-san,

    which version of CCS can be built from the command line on Linux Containers?

    (I would like to check if the CCS20.1.1.x  is compatible.)

    Please note that this type of environment is not officially supported. This means that it is not an environment we officially test for and we do not provide any guarantee that it will work. 

    That said, many people have successfully installed CCS to use it as a build server in such a container. We just cannot provide any support for this.

    Note that CCS 20.x seems to have some issues with target debug in a linux container. However, I assume your goal is to use it for just builds so this may not be of concern.

    Thank you

    ki