This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to create a make file for gcc/c++ with eclipse

Hi,

Edit: Development with Eclipse and GCC

I'm rather new to working with eclipse and C. I already have a problem with the first step of your explanation: (I'm using the blinky_example as start on the nrf51422 board pca10003)

If i execute the build.exe I get the error:" 'make' is not recognized as an internal or external command, operable program or batch file"

I have followed the nAN-29 instruction:

  1. installed the SDK and changed the makefile.windows to my gnu install root C:/Program Files (x86)/GNU Tools ARM Embedded/4.8 2014q2
  2. installed the GNU tools for ARM Embedded
  3. installed the Core utility C:/Program Files (x86)/GnuWin32
  4. installed the Make utility in C:/Program Files (x86)/GnuWin32/bin
    there is a make.exe in the GnuWin32/bin folder so this looks ok to me

What could be the reason for the error and a posible solution?

Parents
  • Duplicate question from Development with Eclipse and GCC.

    Copy of answer:

    Sounds like the path to make.exe might be might be missing from your global Windows paths. Follow the steps below to set the path to GnuWin32:

    1.Enter properties for "My computer" then Advanced system settings -> Environment Variables 2.insert ..\GnuWin32\bin path to the PATH variable. Remember to separate from the other paths with a semi colon.

Reply
  • Duplicate question from Development with Eclipse and GCC.

    Copy of answer:

    Sounds like the path to make.exe might be might be missing from your global Windows paths. Follow the steps below to set the path to GnuWin32:

    1.Enter properties for "My computer" then Advanced system settings -> Environment Variables 2.insert ..\GnuWin32\bin path to the PATH variable. Remember to separate from the other paths with a semi colon.

Children
No Data
Related