Created
September 5, 2024 13:00
-
-
Save jthaman/1459811dcb2b9270e204d71e6e605ede to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Do this in an MSYS2 MinGW x64 Terminal | |
# pacman -S --needed base-devel \ | |
# mingw-w64-x86_64-toolchain \ | |
# mingw-w64-x86_64-xpm-nox \ | |
# mingw-w64-x86_64-gmp \ | |
# mingw-w64-x86_64-gnutls \ | |
# mingw-w64-x86_64-libtiff \ | |
# mingw-w64-x86_64-giflib \ | |
# mingw-w64-x86_64-libpng \ | |
# mingw-w64-x86_64-libjpeg-turbo \ | |
# mingw-w64-x86_64-librsvg \ | |
# mingw-w64-x86_64-libwebp \ | |
# mingw-w64-x86_64-lcms2 \ | |
# mingw-w64-x86_64-libxml2 \ | |
# mingw-w64-x86_64-zlib \ | |
# mingw-w64-x86_64-harfbuzz \ | |
# mingw-w64-x86_64-libgccjit \ | |
# mingw-w64-x86_64-sqlite3 \ | |
# mingw-w64-x86_64-tree-sitter | |
# | |
# pacman -S git | |
# git clone git://git.savannah.gnu.org/emacs.git | |
# git config --global core.autocrlf false | |
cd /c/Users/jhaman/emacs-src/emacs/ | |
# git switch emacs-30 | |
git pull | |
# ./autogen.sh | |
./configure --prefix=/c/programs/fast-emacs \ | |
--without-pop --without-imagemagick --without-compress-install \ | |
--without-dbus --with-gnutls --with-tree-sitter \ | |
--without-gconf --with-rsvg --without-gsettings --with-mailutils \ | |
--with-native-compilation --with-modules --with-xml2 --with-wide-int \ | |
CFLAGS="-O3 -fno-math-errno -funsafe-math-optimizations -fno-finite-math-only -fno-trapping-math \ | |
-freciprocal-math -fno-rounding-math -fno-signaling-nans \ | |
-fassociative-math -fno-signed-zeros -frename-registers -funroll-loops \ | |
-mtune=native -march=native -fomit-frame-pointer" | |
make extraclean -j16; make bootstrap -j16 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment