mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-12-01 03:50:53 +08:00
dongdigua
49a9e815a1
collections: - hardenedlinux - yt: GPU or raspi harder drive? RT kernel - masa - killed by m$ & gloogloo
3.3 KiB
3.3 KiB
2023 了, 试试 emacs 29
2023 了, 元旦假期, 想体验一下新版本的 emacs, 我已经眼馋好久了
发行版还没提供? 自己编译, 而且自己编译可以自定义一些选项, 比如 pgtk
完整的新特性去看 etc/NEWS
(btw, emacs-news-mode
也是新加的)
build emacs (with musl?)
./configure CFLAGS="-march=native -O3 -pipe -finline-functions -fno-math-errno -fno-trapping-math -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -fno-semantic-interposition -fipa-pta -fno-plt" \
--with-x=no \
--with-gpm=no \
--with-pgtk \
--with-native-compilation \
--with-json \
--with-sqlite3 \
--with-tree-sitter \
--with-webp \
--with-gif
but what about musl? (CC=musl-gcc)
checking whether GTK compiles... no
configure: error: Gtk+ wanted, but it does not compile, see config.log.
<dongdigua> hello, I tried to build emacs with musl-gcc, but it says:
<dongdigua> error: Gtk+ wanted, but it does not compile
<dongdigua> it can build using normal gcc
<dongdigua> and it can build on voidlinux
<sam_> dalias: <3
<dongdigua> o_O
<sam_> dongdigua: you'd have to share some logs in full for us to help at all
<sam_> but you'd be better off asking your Linux distribution
<dongdigua> it is mostly `ld: error: unable to find library`
<dongdigua> sam_: so i think it is probably something about the wrapper script
<heat> musl-gcc (does not? should not?) pick up on host libraries because they
were built against glibc and not musl
<heat> so musl-gcc will not pick up on those
<heat> or at least they will just not work and will break configure
<dongdigua> heat: so I should use those libraries that is built on musl?
<dongdigua> like voidlinux I mentioned above
<heat> yes
<dongdigua> ok
ERC>
dump?
现在开启 native-comp
时 dump-emacs-portable
没法弄, 见: emacs china: emacs 29 with native-comp 无法 dump
试着不开 native-comp dump 了一下, 也就加快了 0.2 s, 而且有各种问题, 算啦算啦
我 有切身体会/还没体验但是认为很不错 的新特性
我认为早就该加了但是现在才加入
29.1
use-package
- more
*-ts-mode