From: Basile Starynkevitch <basile@starynkevitch.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Question on updating to 29.1
Date: Thu, 17 Aug 2023 20:58:11 +0200 [thread overview]
Message-ID: <a85c41fb-6023-71dd-d67b-14794dee2478@starynkevitch.net> (raw)
In-Reply-To: <b3c9839f-4324-0f78-7825-a6e8f72cb3e8@magnaspesmeretrix.org>
On 8/17/23 18:17, PierGianLuca wrote:
> Hi everyone,
>
> I'm finally getting around to installing Emacs 29.1 (from the tarball,
> on Ubuntu 20.04), and was looking at the options listed by Basile. I
> have some questions or curiosities:
>
>> Basile Starynkevitch wrote:
>>
>>> './configure' 'CFLAGS=-O2 -g' 'CC=/usr/bin/gcc-13'
>>> '--with-native-compilation' '--with-json'
>>> '--enable-link-time-optimization' '--with-x-toolkit=gtk3'
>>> '--program-suffix=-trunk'
>
> – I don't have gcc-13, so I'll skip that.
>
> – "--with-native-compilation" what does this do? I imagine it's
> something not specifically related to Emacs.
In recent GNU emacs (30) there is a possibility to compile the Elisp
code to machine code, using libgccjit.
And libgccjit is a "pseudo"' just in time compiler in recent GCC
compiler. Documented in https://gcc.gnu.org/onlinedocs/jit/ and existing
in GCC 12.
(Those wanting a real just in time compiler should consider using the
GNU lightning library, see https://www.gnu.org/software/lightning/ ; it
is not GCC related, smaller, but generates slower machine code than
libgccjit).
>
> – "--with-json" ditto?
I think it is related to understanding JSON. Using the jansson library
see http://www.digip.org/jansson/ and https://github.com/akheron/jansson
and https://www.json.org/json-en.html
>
> – "with-x-toolkit=gtk3" is this option already chosen by default? I
> see that the Emacs install instructions say
>
> "If you use exclusively X, do not use the PGTK port. There are a
> number of respects in which the regular --with-x-toolkit=gtk build
> works better"
>
> which sounds like "=gtk" is the default
>
>
> Thank you for any info you can share, and for your patience with
> someone inexperienced with these kinds of installations!
>
> Luca
BTW, my pet open source project is the RefPerSys inference engine on
https://github.com/RefPerSys/RefPerSys - contributors are welcome. See
also some ideas from https://arxiv.org/pdf/1109.0779.pdf
--
Basile Starynkevitch <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/
next prev parent reply other threads:[~2023-08-17 18:58 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 8:11 Question on updating to 29.1 PierGianLuca
2023-08-11 8:21 ` Philip Kaludercic
2023-08-11 8:45 ` PierGianLuca
2023-08-11 8:54 ` Basile Starynkevitch
2023-08-11 10:16 ` Emanuel Berg
2023-08-11 11:20 ` Basile Starynkevitch
2023-08-11 12:20 ` Emanuel Berg
2023-08-17 16:17 ` PierGianLuca
2023-08-17 17:01 ` Corwin Brust
2023-08-17 17:55 ` PierGianLuca
2023-08-17 18:58 ` Basile Starynkevitch [this message]
2023-10-05 18:21 ` hw
2023-10-05 18:54 ` Eli Zaretskii
2023-08-18 19:24 ` Philip Kaludercic
2023-08-19 11:05 ` Pop-up font size with lucid toolkit (was: Question on updating to 29.1) PierGianLuca
2023-08-19 11:10 ` Solved: " PierGianLuca
2023-08-19 11:13 ` Gregory Heytings
2023-08-19 11:15 ` PierGianLuca
2023-08-20 12:36 ` Pop-up font size with lucid toolkit Philip Kaludercic
2023-08-20 13:13 ` PierGianLuca
2023-08-21 15:14 ` Philip Kaludercic
2023-08-11 11:16 ` Question on updating to 29.1 Eli Zaretskii
2023-08-11 22:04 ` Jens Schmidt via Users list for the GNU Emacs text editor
2023-08-12 5:48 ` Eli Zaretskii
2023-08-12 6:08 ` PierGianLuca
2023-08-12 6:23 ` Eli Zaretskii
2023-08-13 12:46 ` Petteri Hintsanen
2023-10-05 11:44 ` Byung-Hee HWANG
2023-10-05 17:17 ` Emanuel Berg
2023-10-06 23:51 ` Byung-Hee HWANG
2023-10-07 7:43 ` Yuri Khan
2023-10-07 12:13 ` Byung-Hee HWANG
2023-10-07 12:28 ` Question on updating to 29.1 (on Ubuntu) PierGianLuca
2023-10-23 16:41 ` Question on updating to 29.1 Basile Starynkevitch
2023-10-06 1:30 ` Emanuel Berg
2023-10-07 6:06 ` జిందం వాఐి
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=a85c41fb-6023-71dd-d67b-14794dee2478@starynkevitch.net \
--to=basile@starynkevitch.net \
--cc=help-gnu-emacs@gnu.org \
/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).