build_emacs_on_macos
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
build_emacs_on_macos [2021/11/15 06:15] – 创建 jiaji | build_emacs_on_macos [2024/04/13 06:55] (当前版本) – jiaji | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ## Build emacs on macOS | + | # Build Emacs on macOS |
+ | |||
+ | ## 步骤 | ||
+ | |||
+ | ### 下载源码 | ||
+ | |||
+ | ``` | ||
+ | git clone git:// | ||
+ | cd emacs | ||
+ | git checkout emacs-28 # 以emacs 28为例,你可以切换到其他的branch | ||
+ | ``` | ||
+ | |||
+ | ### 下载依赖 | ||
+ | |||
+ | ``` | ||
+ | brew install libgccjit | ||
+ | ``` | ||
+ | ### 编译 | ||
+ | |||
+ | ``` | ||
+ | ./ | ||
+ | |||
+ | ./configure \ | ||
+ | --with-mailutils \ | ||
+ | --with-json \ | ||
+ | --with-native-compilation | ||
+ | |||
+ | |||
+ | make -j4 | ||
+ | make install | ||
+ | ``` | ||
+ | |||
+ | ### 测试 | ||
+ | |||
+ | ``` | ||
+ | # 直接打开 Emacs | ||
+ | open nextstep/ | ||
+ | # 在 Finder 中打开 Emacs,方便拖到 / | ||
+ | open -R nextstep/ | ||
+ | mv nextSteps/ | ||
+ | |||
+ | ``` | ||
+ | |||
+ | ## 参考链接 | ||
+ | |||
+ | [Emacs 28 新特性介绍](https:// | ||
+ | |||
+ | [GccEmacs 在各个平台上的安装](https:// | ||
+ | |||
+ | [Emacs 28 native-comp experiment](https:// |
build_emacs_on_macos.1636956915.txt.gz · 最后更改: (外部编辑)