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.

I Want to use gmake utility in a command prompt window to build boot_usb project part of dk-lm3s9b96



To All,

I can build boot_usb porject with code composer studio. I wantd to use gmake utility in a command prompt window to build boot_usb project one of the project part of dk-lm3s9b96. The gmake is in the folder.

I am using the following syntext to build.

 C:\code\StellarisWare\boards\dk-lm3s9b96\boot_usb\ccs\Debug"C:\Program Files\Texas Instruments"\ccsv4\utils\gmake\gmake -f makefile
C:\Program Files\Texas Instruments: *** No rule to make target `\ccsv4\utils\gma
ke\gmake'.  Stop.

The gmake is installed in folder "C:\Program Files\Texas Instruments"\ccsv4\utils\gmake\gmake.

The project boot_usb make file is in the folder  C:\code\StellarisWare\boards\dk-lm3s9b96\boot_usb\ccs\Debug.

When I invoke themake file from folder C:\code\StellarisWare\boards\dk-lm3s9b96\boot_usb\ccs\Debug using the syntext in dos command prompt window "C:\Program Files\Texas Instruments"\ccsv4\utils\gmake\gmake -f makefile. It gives above error *** No rule to make target `\ccsv4\utils\gma
ke\gmake'.  Stop..

Q.1 What I am doing wrong?

Q.2 Can I build the  project from dos command prompt window using gmake and nakefile contained in the debug folder?

Q.3 Where can I find the manual for gmake?

Thanks.

  • Ashok,

    I managed to build the exact same project in CCSv4.1.2 from the command line without problems. I did the steps below:

    - Imported the project to CCS without copying it to the workspace (required as StellarisWare has too many path dependencies)

    - Build the project inside CCS (creates the Debug subdirectory and the makefile)

    - Open the Command Prompt, go to the Debug directory and do a gmake clean followed by gmake all to do a clean build of the project. Any incremental builds also work.

    I tested with the gmake utility installed with ccsv4 (same as yours), therefore I am not sure what may be happening.

    Gmake is a GNU tool and information about it can be found at the link below:

    http://www.gnu.org/software/make/

    Hope this helps,

    Rafael

     

  • How do I make this thread as verified answer.  I received my answer. Thanks.