How to run make in windows 10

Obomighie Sophie
2 min readOct 26, 2021

--

The first thing to do is to install GCC which stands for ‘GNU C Compiler’

Installation

  1. Download mingw-get-setup.exe (MinGW Installation Manager)from MinGW SourceForge page
  2. Launch the installer and follow the prompts till the download inside the installer is complete.
  3. Click on the ‘Basic Setup’ tab.
  4. On the right side of the dialog box, tick “mingw32-gcc-g++-bin”. and select Mark for Install.
  5. Then click on Installation > Apply Changes.

Editing Environment Variables

  1. Go to Windows Explorer > Right click on This PC > Properties > Advanced system settings > Environment Variables.
  2. At the bottom of the “System Variables” panel, you will find a Variable named “Path”. Double click on it.
  3. Some systems show a good UI for adding a New Path easily (by clicking New), else you just need to add ; (Semicolon) at the end and add the path
  4. Click on OK, and OK and close the other windows. Open a Command Prompt Terminal and try typing gcc --version and press Enter to confirm the installation.

GNU

  1. Download and install GNU Win
  2. Add the path C:\Program Files (x86)\GnuWin32\bin to your environment variable using the following steps
    Please note the advanced settings option may appear this way
Alternate Advanced System Settings look

In addition, you may not need to add a semicolon as some environment variable edit interface display like this :

Alternate edit environment variable interface

I hope you found this useful, you can also drop feedbacks.

Post can also be found on my blog.

References

I want to appreciate the giants on which this article stands on:

  1. How to install gcc in Windows 10? (the easier way) — DEV Community 👩‍💻👨‍💻
  2. How to: Add Tool Locations to the PATH Environment Variable | Microsoft Docs
  3. home : dylanbeattie.net
  4. Michael Clapham

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Obomighie Sophie
Obomighie Sophie

No responses yet

Write a response