I'm following the instructions of someone whose repository I cloned to my machine. What I want is simple: to be able to use the make
command as part of setting up the code environment. But I'm using Windows, and I searched online only to find a make.exe file to download, a make-4.1.tar.gz
file to download (I don't know what to do with it next), and things about downloading MinGW (for GNU; but after installing it I didn't find any mention of "make").
I don't want a GNU compiler or related stuff; I only want to use "make" in Windows. Please tell me what I should do to accomplish that.
Thanks in advance!
make
is a GNU command so the only way you can get it on Windows is installing a Windows version like the one provided by GNUWin32. Anyway, there are several options for getting that:
C:\MinGW\bin\mingw32-make.exe
. Otherwise you're missing the mingw32-make additional utilities
. Look for the link at MinGW's HowTo page to get it installed. Once you've got it, you have two choices:1.1 Copy the MinGW make executable to make.exe
:
copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
1.2 Create a link to the actual executable, in your PATH. In this case, if you update MinGW, the link is not deleted:
mklink c:\bin\make.exe C:\MinGW\bin\mingw32-make.exe
Other option is using Chocolatey. First you need to install this package manager. Once installed you simlpy need to install make
:
choco install make
Last option is installing a Windows Subsystem for Linux (WSL), so you'll have a Linux distribution of your choice embedded in Windows 10 where you'll be able to install make
, gcc
and all the tools you need to build C programs.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments