nodejs / nodejs/node-gyp

Allow MSYS2 GCC to be used in Windows version of node-gyp

Open
#3,350 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

MSYS2
Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Currently, node-gyp in Windows need VS for working, but I have MSYS2 with GCC and don't want to install another C compiler. what should I do if I want to use node-gyp in Windows with MSYS2 GCC?
btw, os.type() may not be a good solution since I want to use MSYS2 GCC in Powershell.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test entry point is named. Start by tracing node-gyp's Windows compiler and toolchain selection, then determine how MSYS2 GCC would be supported; done means there is a clear, reproducible path for using it from PowerShell.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, powershell, python
Domain
build-system, operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.