-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm-gyp on Windows should allow build tools to be configured to use gcc #402
Comments
Please go talk to the Gyp team. node-gyp is a wrapper API around the python Gyp library. The change to use GCC on Windows would have to be made at the Gyp level. You can file an issue on Gyp here: |
Thanks. In that case, is it possible to configure npm to use something other than npm-gyp? (read: configure--not re-write) Could someone potentially write an npm-gcc module to use with npm? |
Best direction I could put you on would be to investigate converting gyp project configuration files into cmake project configuration files and going from there. CMake is an alternative to gyp and I believe it supports gcc on windows. |
@stupid-genius The offical node.exe binary is compiled with MSVS, and therefore any binary addons that get compiled for it must also be compiled via MSVS. We can't mix and match the compilers when they are meant to be interacting with each other via |
Well, that sucks, but thanks for the answers. |
I've just posted this request to the Google GYP team ... |
Whenever feasible, I refuse to use MS compilers. Having npm-gyp use the same compiler on all platforms seems easier to maintain anyway.
The text was updated successfully, but these errors were encountered: