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.

Code Composer Studio - Building from Command line

Other Parts Discussed in Thread: SYSCONFIG

Hi

I have created a ccs project using the IDE and Now i want to  compile/ build the same using command line from another PC that doesn't have CCS installed. Is it possible? is there anyways to do that? Building from command line with the PC that is having CCS is fine.. I have tried that. Is there any option for doing the same without ccs installed?

Regards 

Kokila K

  • i want to  compile/ build the same using command line from another PC


    What you describe sounds like a general "run executable on a remote PC" problem rather than a specific CCS question.

    If I take your request at face value, it might be solved by this:

    https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

    I'm sure you've considered Windows' Remote Desktop Connection so why doesn't that work for you?

    To be honest, I don't think there is enough background information. What is the rationale or use case for wanting to do this?

  • Kokila,

    Are you looking to initiate a build from one machine and have that build occur on a machine that has CCS involved?

    Or are you looking to have the build occur on that machine (build server) but not have all of CCS installed?

    Or something else?

    If the first option is your objective you could look at something like what Kier suggested.

    If you want the second option where the build occurs on that machine then you could do this.  You would need to create a makefile that builds your application.  You would then need to install the compiler and any other tools that your build requires.  That could include tools like SysConfig and XDCTools, depending on your application.  These tools are available for download.

    Regards,
    John

  • Hi John,

    Thanks for the reply. I was looking for the second option. So I guess installing the dependecies and makefile would solve my problem.

  • Hi Kier,

    Thanks for the reply. My major use case was for a simple debugging i dont want the ide to be installed. Instead the user can change via terminal and can build from the command line.

  • So I guess installing the dependecies and makefile would solve my problem.

    Yes this would be the best approach. Note that the CCS build system is makefile based. When a CCS project is built, makefiles are generated and gmake is called on the makefile. You can look at these generated makefiles as an example to help you get started. 

    Thanks

    ki