I am trying to build the STM32 HID bootloader, but when I execute make_all.bat or even make_all_hd.bat
It shows me this error
What is 'make' and how can I make this command work
'make' is not recognized as an internal or external command, operable program or batch file.
'make' is not recognized as an internal or external command, operable program or batch file.
http://gnuwin32.sourceforge.net/packages/make.htm
Go to full postDescription
Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the non-source files and how to compute it from other files. When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program.
Capabilities of Make
Make enables the end user to build and install your package without knowing the details of how that is done -- because these details are recorded in the makefile that you supply.
Make figures out automatically which files it needs to update, based on which source files have changed. It also automatically determines the proper order for updating files, in case one non-source file depends on another non-source file. As a result, if you change a few source files and then run Make, it does not need to recompile all of your program. It updates only those non-source files that depend directly or indirectly on the source files that you changed.
Make is not limited to any particular language. For each non-source file in the program, the makefile specifies the shell commands to compute it. These shell commands can run a compiler to produce an object file, the linker to produce an executable, ar to update a library, or TeX or Makeinfo to format documentation.
Make is not limited to building a package. You can also use Make to control installing or deinstalling a package, generate tags tables for it, or anything else you want to do often enough to make it worth while writing down how to do it.
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
http://gnuwin32.sourceforge.net/packages/make.htm
Description
Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files. Make gets its knowledge of how to build your program from a file called the makefile, which lists each of the non-source files and how to compute it from other files. When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program.
Capabilities of Make
Make enables the end user to build and install your package without knowing the details of how that is done -- because these details are recorded in the makefile that you supply.
Make figures out automatically which files it needs to update, based on which source files have changed. It also automatically determines the proper order for updating files, in case one non-source file depends on another non-source file. As a result, if you change a few source files and then run Make, it does not need to recompile all of your program. It updates only those non-source files that depend directly or indirectly on the source files that you changed.
Make is not limited to any particular language. For each non-source file in the program, the makefile specifies the shell commands to compute it. These shell commands can run a compiler to produce an object file, the linker to produce an executable, ar to update a library, or TeX or Makeinfo to format documentation.
Make is not limited to building a package. You can also use Make to control installing or deinstalling a package, generate tags tables for it, or anything else you want to do often enough to make it worth while writing down how to do it.
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
Thanks
I have a new error else
I have a new error else
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
Make is one of those utilities that will require some effort to understand its use and its power. Fortunately it is documented here and numerous examples exist on the Internet and on YouTube.
Maybe: https://github.com/Serasidis/STM32_HID_ ... /issues/10 will be helpful...
But remember, "tools" must be in the %path% or you must CD into the appropriate directory to execute the utility/program.
Maybe: https://github.com/Serasidis/STM32_HID_ ... /issues/10 will be helpful...
But remember, "tools" must be in the %path% or you must CD into the appropriate directory to execute the utility/program.
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
I also needed to download
http://gnuwin32.sourceforge.net/packages/coreutils.htm
https://developer.arm.com/tools-and-sof ... /downloads
Since rm and arm-none-eabi-gcc commands do not exist under windows
http://gnuwin32.sourceforge.net/packages/coreutils.htm
https://developer.arm.com/tools-and-sof ... /downloads
Since rm and arm-none-eabi-gcc commands do not exist under windows
Last edited by Rekog on Wed Jun 30, 2021 10:05 am, edited 1 time in total.
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
one way is to install / use WSL
https://docs.microsoft.com/en-us/windows/wsl/about
you could literally have 'everything in a bundle' make, compilers etc
https://docs.microsoft.com/en-us/windows/wsl/about
you could literally have 'everything in a bundle' make, compilers etc
Re: 'make' is not recognized as an internal or external command, operable program or batch file.
Thanks but I would like to do without it.ag123 wrote: ↑Wed Jun 30, 2021 9:58 am one way is to install / use WSL
https://docs.microsoft.com/en-us/windows/wsl/about
you could literally have 'everything in a bundle' make, compilers etc