bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Barret Rhoden
Subject: bug#32866: cross-compiling grep and changing $PATH
Date: Fri, 28 Sep 2018 14:37:27 -0400

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 used, but it won't run on
the host.  This looks like it is from cfg.mk:

export PATH := $(builddir)/src$(PATH_SEPARATOR)$(PATH)

It doesn't seem particularly harmful, but maybe that PATH change should
depend on whether it's a cross build or not.

Thanks,

Barret





reply via email to

[Prev in Thread] Current Thread [Next in Thread]