Skip to content

Support for mingw/msys/cygwin for node-gypΒ #1240

@smaudet

Description

@smaudet

The authors claims that mingw is not a viable target for node-gyp on windows I believe to be patently false.

I would like to patch node-gyp to allow it to correctly build msys compatible make files, for versions of nodejs built with the msys/gcc toolchain.

From my research so far, this is not only possible, but partially already supported. Two things need to happen:

  1. Stop assuming that only msvs is supported on windows
  2. Add an msys make target with the following properties:
    a) support /c/
    b) No colons are allowed in e.g. /C:/
  3. link to appropriate msys versions of libraries.

If those conditions are met, it appears that node-gyp generates/builds just fine on msys nodejs, contrary to the author's wild claims to the contrary.

Referencing these old tickets in case there's anything of value/relevance in them:

#194
#280
#660

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions