From: Francesco Giancane Date: 2018-01-22T19:20:37+01:00 Subject: [ruby-core:84968] Cross-Compiling Ruby gems with Native Extensions --===============1552602602== Content-Type: multipart/alternative; boundary="94eb2c197ec2aa92fb0563617c71" --94eb2c197ec2aa92fb0563617c71 Content-Type: text/plain; charset="UTF-8" Hi all, I am interested in using Ruby and some gems (some of them with native extensions) for a project here at my University. As we are doing for teaching purposes, we are going to use embedded architectures and thus the need for cross compiling arises. I delved into mkmf.rb lib file and as of my understanding, the generation of makefiles uses build-time configure settings. My question is: how to generate makefiles using mkmf (for gems) with cross-compiler targets? Given that it is not easily possible to override makefile (well, technically is possible, but the approach is not very clean...) what would be the best solution for this? Any ideas, suggestions? Thanks, Francesco Giancane --94eb2c197ec2aa92fb0563617c71 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I am interested in using Ruby a= nd some gems (some of them with native extensions) for a project here at my= University.

As we are doing for teaching purposes= , we are going to use embedded architectures and thus the need for cross co= mpiling arises.

I delved into mkmf.rb lib file and= as of my understanding, the generation of makefiles uses build-time config= ure settings.

My question is: how to generate make= files using mkmf (for gems) with cross-compiler targets? Given that it is n= ot easily possible to override makefile (well, technically is possible, but= the approach is not very clean...) what would be the best solution for thi= s?

Any ideas, suggestions?

Thanks,
Francesco Giancane

--94eb2c197ec2aa92fb0563617c71-- --===============1552602602== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Unsubscribe: --===============1552602602==--