Forum: JRuby How to link compiler to mvn for JRuby Windows builds?

27a9bc4f8b6268a797e79c6c73ed59d5?d=identicon&s=25 Richard S. (secristr)
on 2014-03-05 19:23
How do I link MinGW's C++ compiler to the build environment for JRuby on

Attempting to install 1.7.11 on Windows an mvn -Pbootstrap fails with:

[WARNING] ERROR:  Error installing
[WARNING]       ERROR: Failed to build gem native extension.

Which is presumably because mvn isn't linked in to the MinGW C++
compiler on Windows.  What is the correct way to set up the development
environment so mvn can use the C++ compiler?

I have a MinGW installed and I can use it to go into directories and
issue make commands successfully, but only from the msys.bat shell of
MinGW and not from mvn.

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.