memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

windows.org (1260B)


      1 =nt/INSTALL.w64= provides detailed instructions for compiling Emacs on
      2 recent Windows versions.  Here are some additional steps I had to
      3 figure out on my own:
      4 * Mingw-w64
      5 - Set =$HOME= to =%HOMEPATH%= by changing =db_home= to =windows= in
      6   =c:/msys64/etc/fstab=.
      7 - In addition to =c:\msys64\mingw64\bin=, adding =c:\msys64\usr\bin=
      8   to the system =PATH= allows Emacs to access applications installed
      9   with =pacman=.
     10   - It's not obvious whether the Mingw-w64 =PATH= entries should go
     11     last (in which case Emacs will pick the wrong ~find~ command) or
     12     first (in which case… /everything else/ will pick the wrong ~find~
     13     command?).  At least Emacs has a variable to configure
     14     (~find-program~).
     15 * Compiling
     16 Make sure to specify ~-c core.autocrlf=false~ *when cloning* the Emacs
     17 repository; ~autogen.sh~ gets confused otherwise.
     18 * Configuring
     19 AFAICT one must set the variable ~shell-file-name~ explicitly to
     20 =c:/msys64/usr/bin/bash.exe=, otherwise Emacs's Windows-specific
     21 initialization logic uses a built-in shell ersatz (=nt/cmdproxy.c=).
     22 ** TODO =HOME=
     23 Went with the instructions from [[info:emacs#MS-Windows Registry]]; could
     24 maybe use [[info:emacs#Windows HOME]] by setting =HOME= to =%HOMEPATH%=,
     25 to avoid having to spell out my username?