From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Wrong PATH in MSYS2/MINGW64 builds? Date: Thu, 28 May 2015 23:51:59 +0200 Message-ID: <55678DFF.3030908@alice.it> References: <55671E77.8030404@alice.it> <834mmwyc0i.fsf@gnu.org> <55673739.9030005@alice.it> <83wpzswssr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432849954 25749 80.91.229.3 (28 May 2015 21:52:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2015 21:52:34 +0000 (UTC) Cc: alexey.pawlow@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 28 23:52:26 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yy5j0-0004xC-6G for ged-emacs-devel@m.gmane.org; Thu, 28 May 2015 23:52:26 +0200 Original-Received: from localhost ([::1]:60878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy5iz-0003lE-M0 for ged-emacs-devel@m.gmane.org; Thu, 28 May 2015 17:52:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy5il-0003hn-Kp for emacs-devel@gnu.org; Thu, 28 May 2015 17:52:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yy5ih-0001xN-UJ for emacs-devel@gnu.org; Thu, 28 May 2015 17:52:11 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:14180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy5ih-0001xA-Js; Thu, 28 May 2015 17:52:07 -0400 Original-Received: from [192.168.1.100] (87.16.29.141) by smtp203.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 5556210B0140EB3E; Thu, 28 May 2015 23:52:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83wpzswssr.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186932 Archived-At: Il 28/05/2015 18:49, Eli Zaretskii ha scritto: > > I think your problem is with exec-path (which is derived from PATH), > not with PATH directly. > > IME, it's a bad idea to have exec-path inside Emacs be different from > PATH outside Emacs, because then you'd have subtle differences between > Emacs looking for programs and programs it invokes (such as the shell, > for example) looking for programs. So my advice is not to patch Emacs > that way. > Shouldn't the option --libexecdir="${MINGW_PREFIX}/bin" (added to "configure") fix this issue (being MINGW_PREFIX=/c/msys64/mingw64)? Ciao, Angelo.