bug#32866: cross-compiling grep and changing $PATH

2018-09-28 Thread Barret Rhoden
Hi - Not sure if this is a bug or something I'm doing wrong, but when I cross-compile grep (3.1) for another system where the binaries do not run on the host, the make output will have a couple of these: /bin/sh: ./src/grep: No such file or directory It looks like the newly built grep is being u

bug#32866: cross-compiling grep and changing $PATH

2018-09-28 Thread Paul Eggert
On 9/28/18 11:37 AM, Barret Rhoden wrote: It doesn't seem particularly harmful, but maybe that PATH change should depend on whether it's a cross build or not. Sounds like a good idea. Care to suggest a patch?

bug#32866: cross-compiling grep and changing $PATH

2018-09-28 Thread Barret Rhoden
On 2018-09-28 at 12:02 Paul Eggert wrote: > On 9/28/18 11:37 AM, Barret Rhoden wrote: > > It doesn't seem particularly harmful, but maybe that PATH change should > > depend on whether it's a cross build or not. > > Sounds like a good idea. Care to suggest a patch? > The attached patch works f

bug#32866: cross-compiling grep and changing $PATH

2018-09-28 Thread Paul Eggert
Thanks for the patch; that was quick! It's short enough so that we needn't worry about copyright papers, so I installed it in your name into the master copy of Grep on savannah.gnu.org and am closing this bug report.