From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Building --with-native-compilation on Ubuntu 18.04 LT
Date: Thu, 13 Jan 2022 00:34:21 +0100 [thread overview]
Message-ID: <871r1c34w2.fsf@zoho.eu> (raw)
In-Reply-To: 861r1cvib0.fsf@duenenhof-wilhelm.de
H Dieter Wilhelm wrote:
> I'd like to compile Emacs with the --with-native-compilation
> support. But configure was complaining about a missing
> libgccjit executable. I thought it a good idea to install
> libgccjit with the same version number as the installed gcc:
> libgccjit-7-dev.
See this file [last], it is how I do it on Debian which is
similar to your OS (actually, your OS is similar to Debian :P)
... anyway, in particular, I install libgccjit-10-dev!
And,
$ gcc --version
(Debian 10.2.1-6) 10.2.1 20210110
#! /bin/zsh
#
# this file:
# http://user.it.uu.se/~embe8573/conf/.zsh/install-emacs
# https://dataswamp.org/~incal/conf/.zsh/install-emacs
export emacs_src=https://git.savannah.gnu.org/git/emacs.git
export src_dir=~/src
export emacs_dir=$src_dir/emacs
emacs-reinstall () {
emacs-src-reset
emacs-install
}
alias reinstall-emacs=emacs-reinstall
emacs-install () {
emacs-install-prepare
emacs-src-update
emacs-do-install
}
alias install-emacs=emacs-install
emacs-install-prepare () {
sudo apt-get -qq update
sudo apt-get install build-essential libgccjit-10-dev
sudo apt-get build-dep emacs
}
emacs-src-reset () {
cd $emacs_dir
git reset --hard
git clean -xdf
git config pull.rebase false
git pull $emacs_src
}
emacs-src-get () {
cd $src_dir
git clone $emacs_src
}
emacs-src-update () {
cd $emacs_dir
git fetch
}
emacs-do-install () {
cd $emacs_dir
autogen.sh
configure --with-x-toolkit=no --with-native-compilation
make
sudo make install
emacs --version
}
--
underground experts united
https://dataswamp.org/~incal
prev parent reply other threads:[~2022-01-12 23:34 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-12 19:57 Building --with-native-compilation on Ubuntu 18.04 LT H. Dieter Wilhelm
2022-01-12 20:14 ` Óscar Fuentes
2022-01-12 20:34 ` H. Dieter Wilhelm
2022-01-12 21:48 ` H. Dieter Wilhelm
2022-01-12 20:43 ` Eli Zaretskii
2022-01-12 23:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-13 7:09 ` Eli Zaretskii
2022-01-13 7:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-12 20:40 ` Eli Zaretskii
2022-01-12 20:49 ` Gian Uberto Lauri
2022-01-12 21:36 ` H. Dieter Wilhelm
2022-01-12 23:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-13 21:21 ` H. Dieter Wilhelm
2022-01-14 23:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-14 23:40 ` H. Dieter Wilhelm
2022-01-15 0:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-15 0:51 ` H. Dieter Wilhelm
2022-01-15 1:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-15 10:01 ` H. Dieter Wilhelm
2022-01-15 23:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-15 10:24 ` Jean Louis
2022-01-15 23:27 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-15 23:47 ` Jean Louis
2022-01-17 19:20 ` H. Dieter Wilhelm
2022-01-13 6:50 ` Eli Zaretskii
2022-01-12 23:34 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871r1c34w2.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).