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.

Using timake in CCS V4

While going through the CCS V3.3 Getting Started guide, i saw that there is a utility timake as well as an option to export project in makefile in CCS V3.3 for building projects through command line. Is this option removed in CCS V4. (Iam not able to see timake.exe file in the installation directory nor Project->Export to makefile option)

  • There there an equivalent to timake that is described here that should need your needs:

    http://tiexpressdsp.com/index.php/Projects_-_Command_Line_Build/Create

    There is no export to makefile option as makefiles are actually generated during the build. 

    John

  • Hi John,

                     Thanks for the reply.

    One more query is whether it is possible to build the executable (using makefile)  in command line (without creating CCS project), but using CCS V4 compiler , linker etc.

  • Sure you can interface to the compiler directly if you want.  It is in the <install dir>\ccsv4\tools\compiler folder then in a subfolder that matches your ISA.  The executables are in the \bin folder.  You can look at the output within CCS to get the name of the executable to call.

     

    John

  • Hi John,

    Was looking to build my source files using makefile, I have installed CCS 4 and using the compiler provided with it.  This is what the output is..

    process_begin: CreateProcess(NULL, cl6x -mv6400+ -mo -q -k -g -eo.o -frobj/c64plus -fsobj/c64plus...    ....   ....   .... ...) failed.

    Building the same set of source files using the same makefile in an CCS3.3 environment, it builds successfully.

    Just wanted a few tips and inputs on what modifications and issues to be addressed before doing so.

    Thanks

  • Are you trying to use the the v4 command line build with a standard makefile project? I'm pretty sure that the command line build stuff is for just CCS Projects...

    ki

  • Hi Lee,

    This is not a project created in CCS that i am looking to compile using makefile, Its a group of source files written on TI CSL  that form a .lib file complied using the c600 tools. In order to compile these files I have written a makefile.  Its compiles fine for CCS3.3 with all variables set, in CCS4 the folder structure is changed, I have updated all the environment variables with appropriate paths, but still finding the above error. was wondering if anythng else was needed to be added.

    Thanks

  • Ok, you have a standard makefile to build a library outside CCS project management environment. Sorry, I got confused since you replied to this thread but your question is different than the original post and headline associated with it.

    Can you attach your makefile?

  • Hello Lee,

    Thanks very much..

    Got it compiling now, there were two gmake files, was using the wrong one.

    My next part would be to port all the projects created using CCS3.3 into CCS4.  Which brings me to you query of using timake, after going through the article posted above now I am using the jar......., builds the .pjt fine.  Can this be added into to the makefile as timake.  Have you tried it. 

    Along with that post some links  on connecting to the target,  I am using a gaotek XDS510 to connect to DSP's.  There is a ccs2ccxml.exe.. any hints on it.

    Thanks

     

  • Lokesh Swamy said:

    My next part would be to port all the projects created using CCS3.3 into CCS4.  Which brings me to you query of using timake, after going through the article posted above now I am using the jar......., builds the .pjt fine.  Can this be added into to the makefile as timake.  Have you tried it. 

    I don't seem to follow... could your explain more details?

  • Hello Lee,

    Sorry for that,

    We have used the Import legacy V3.3 option to Import all our projects into V4.  For compiling all these projects on command promt we were using the timake in a makefile for each project in ccsv3.3. 

    Now going through the article http://tiexpressdsp.com/index.php/Projects_-_Command_Line_Build/Create,  used the instruction to build my projects in the workspace. My query was cant the projects be built independently as like timake(not being associated with workspace) and can the java.exe that is invoked be done through make file.

    Regards

    L

     

     

  • Lokesh Swamy said:

    My query was cant the projects be built independently as like timake(not being associated with workspace) 

    You need to specify the workspace folder when using the CCS headless project commands

    Lokesh Swamy said:

    can the java.exe that is invoked be done through make file.

    you probably could. But if you wish to build outside of CCS, independent of workspaces and use makefiles, perhaps you can just use standard makefiles instead of using CCS projects.