From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#46790: 28.0.50; make install with native-comp branch Date: Sat, 24 Apr 2021 23:59:48 +1200 Message-ID: <99a51aab-0eed-7fbc-efc8-8cb6f7be9c70@orcon.net.nz> References: <87h7lzgtyv.fsf@posteo.net> <83v98hqj5y.fsf@gnu.org> <87y2d8uq8r.fsf@posteo.net> <83wnssm8b0.fsf@gnu.org> <87r1izc446.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29153"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 46790@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 14:00:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laGxH-0007Sp-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 14:00:11 +0200 Original-Received: from localhost ([::1]:58772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laGxG-0005cS-9k for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 08:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laGx8-0005cK-GY for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 08:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laGx8-0003GK-7k for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 08:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laGx8-0000Xm-4q for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 08:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2021 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46790 X-GNU-PR-Package: emacs Original-Received: via spool by 46790-submit@debbugs.gnu.org id=B46790.16192655962049 (code B ref 46790); Sat, 24 Apr 2021 12:00:02 +0000 Original-Received: (at 46790) by debbugs.gnu.org; 24 Apr 2021 11:59:56 +0000 Original-Received: from localhost ([127.0.0.1]:39601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laGx1-0000Wy-Il for submit@debbugs.gnu.org; Sat, 24 Apr 2021 07:59:55 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:49331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laGwz-0000Wn-0a for 46790@debbugs.gnu.org; Sat, 24 Apr 2021 07:59:54 -0400 Original-Received: from [101.53.216.162] (port=43249 helo=[192.168.20.103]) by smtp-2.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1laGwv-00011q-0t; Sat, 24 Apr 2021 23:59:49 +1200 In-Reply-To: <87r1izc446.fsf@posteo.net> Content-Language: en-GB X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204793 Archived-At: In case it helps, I've just tried to do a similar test on my system. I didn't reconfigure from my previous tests, so I'm still using this: ./configure --prefix=/home/phil/emacs/native-comp/usr/local \ --with-x-toolkit=lucid --without-sound --with-native-compilation I then used the 'bindir' and 'infodir' options to install those somewhere else: make install \ bindir=/home/phil/emacs/native-comp/elsewhere/usr/local/sbin/emacs-28.0.50 \ infodir=/home/phil/emacs/native-comp/elsewhere/usr/local/share/info-28.0.50 Next I created a symlink to the new executable: /home/phil/bin/etest -> /home/phil/emacs/native-comp/elsewhere/usr/local/sbin/emacs-28.0.50/emacs-28.0.50 And this seems to work. Running it gives me: $ etest --batch --eval "(print comp-eln-load-path)" --eval "(print (pdumper-stats))" ("/home/phil/.emacs.d/eln-cache/" "/home/phil/emacs/native-comp/usr/local/lib/emacs/28.0.50/native-lisp/") ((dumped-with-pdumper . t) (load-time . 0.021803813) (dump-file-name . "/home/phil/emacs/native-comp/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp"))