Comments

  1. Monday, January 29, 2007 9:01:20 PM by HS
    Hi!
    Don't know if you know, but there's an emacs binary on the net that includes basically your three hacks: it's a CVS version, it includes a server so you can open files from explorer in it, and it's of easy install on windows! Give it a try! (http://ourcomments.org/Emacs/EmacsW32.html)
  2. Monday, March 05, 2007 7:50:24 PM by Mats
    Thank you for a really nice and easy instruction.
    It has always been suprisingly hard to understand what to install before the configuration, but this text describes it easily enough.

    Instead of being very general, it specifically explains what to install to make it work for two cases:
    mingw and msvc. I tried them both since this computer has msvc installed. I prefer the gcc solution though since that is completely free.

    It would be nice if this text could be part of
  3. Monday, March 05, 2007 7:52:36 PM by Mats
    ".. the INSTALL file in emacs' nt catalog."
    There _is_ a link.
    I did mean to remove the entire text, not just half of it. :)
  4. Tuesday, March 20, 2007 8:59:08 PM by Cameron
    Easy Mode install for windows: http://ourcomments.org/Emacs/EmacsW32.html
  5. Saturday, May 26, 2007 2:50:00 PM by David Rod
    Sorry but I can't get it to work. My MingW won't load configure.bat from the NT directory. yes I have binaries in WinXP path. So I try with cygwin instead. Big mistake. Can't do make bootstrap and configure in directory above nt fails after 5 minutes at version.el
    Can you provide instructions by cygwin users???
  6. Saturday, June 02, 2007 8:29:34 PM by Derek
    David, what sort of errors do you get when running configure.bat?

    Also, just today Emacs 22 was officially released in binary form. See Hack #1 for details on installing binary versions.
  7. Tuesday, June 05, 2007 11:48:51 AM by Michael Kazarian
    For possible exclude problems I do it:
    1) download dos2unix from http://www.bastet.com/uddu.zip
    2) emacs-cvs\nt> dos2unix makefile
  8. Sunday, August 26, 2007 3:52:09 PM by nsb
    Nice guide!

    When inserting paths into the --cflags option I'd suggest using unix style '/' path seperators, as the CFLAGS are echoed into the config.h file. Using Windows style '\' seperators can be mis-interpreted by the compiler as escape codes and cause errors during compilation if they're not valid (The paths are still valid in Windows)
  9. Tuesday, November 20, 2007 5:23:16 AM by Justin
    I finally took a bit of time out to walk through this and it worked fine for me with the latest MingW and coreutils.

    Thanks!
  10. Tuesday, November 20, 2007 5:58:10 PM by Justin
    A couple of things I had to change that weren't in the tutorial unless I did something wrong:

    I had to add include and lib paths to point to where my image libraries were installed ...

    -IC:\coreutils\include -LC:\coreutils\lib

    And I found that adding

    --cflags -mtune=pentium4

    didn't work, so I adding the compiler options I wanted directly into the configure.bat file.

    set usercflags=-mtune=pentium4 -O2 -msse3 -IC:\coreutils\include -LC:\coreutils\lib

    Also I found that you cannot build emacs if you use a directory with spaces in the name. I had to move it to a directory with no spaces.
  11. Wednesday, March 26, 2008 2:47:57 PM by David Mayfield.
    mingw32-make bootstrap FAILED

    I followed the MinGW setup using cygwin bash prompt. The error was due to the --cflags setting given to configure.bat. ( don't add colon, space, or delmited space in the path )

    To get it to work I moved the extracted GnuWin32 image libraries to C:/GnuWin32

    And change the configure.bat options to:

    configure.bat --cflags -I/GnuWin32/include --no-debug --with-gcc


    Also when I ran:

    mingw32-make install

    I got the error:

    rm: cannont remove 'c:/emacs32/emacs/nt/../same-dir.tst
    mingw32-make: [install] Error 1 (ignored)

    But everything had installed ok.




    Thanks for the article Derek. I had followed two other tutorials but never managed it.
  12. Saturday, October 04, 2008 4:18:36 PM by Pete
    hi,

    after installing via CVS my emacs folder is at 160 MB! how can i change this on windows (make clean doesnt work)? if i download the precompiled version of emacs it's only about 30-40 MB...



    pete
  13. Saturday, September 12, 2009 2:52:01 PM by Roger
    Thank SO MUCH for putting these instructions on the web. Normally I would install using the pre-build windows binaries, but on my new job my boss says I can install anything I want but it has to be built from source, so now at least I can use EMACS again!
  14. Sunday, December 27, 2009 11:36:36 PM by Karl Fogel
    GNU Emacs has switched from CVS to Bazaar now. See http://www.emacswiki.org/emacs/BzrForEmacsDevs for updated instructions on obtaining Emacs.
  15. Tuesday, April 30, 2013 1:47:22 AM by Allan Peda
    Your blog came in very handy for compiling version 24.3 using the Strawberry Perl mingw32 gcc compiler. Unfortunately there are a number of errors due to redefining of structs and some preprocessor macro conflicts. For an organization that feels so strongly about displacing proprietary operating systems, the GNU folk are sure making it tough to build on windows.
  16. Friday, November 01, 2013 9:43:48 AM by ku-isi blog
    great and informative
Add Comment