[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building --with-native-compilation on Ubuntu 18.04 LT
From: |
Emanuel Berg |
Subject: |
Re: Building --with-native-compilation on Ubuntu 18.04 LT |
Date: |
Thu, 13 Jan 2022 00:34:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, (continued)
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Emanuel Berg, 2022/01/14
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, H. Dieter Wilhelm, 2022/01/14
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Emanuel Berg, 2022/01/14
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, H. Dieter Wilhelm, 2022/01/15
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Emanuel Berg, 2022/01/15
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Jean Louis, 2022/01/15
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Emanuel Berg, 2022/01/15
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Jean Louis, 2022/01/15
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, H. Dieter Wilhelm, 2022/01/17
- Re: Building --with-native-compilation on Ubuntu 18.04 LT, Eli Zaretskii, 2022/01/13
Re: Building --with-native-compilation on Ubuntu 18.04 LT,
Emanuel Berg <=