help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Compiling Emacs on Windows a piece of cake!


From: Chris Lott
Subject: [h-e-w] Compiling Emacs on Windows a piece of cake!
Date: Wed, 9 Oct 2002 00:04:55 -0800

I just wanted to note that, afer not being able to get the precompiled CVS
version of emacs to work, I decided to try compiling myself.

It turned out to be a piece of cake and I did it with all free software.

Just in case others are interested:

I already had Cygwin installed, so I started a bash shell and created a src
directory.

I changed into the src directory and used the anonymous cvs instruction ons
the Emacs CVS site to download emacs source code:
cvs -d:pserver:address@hidden:/cvsroot/emacs login
cvs -z3 -d:pserver:address@hidden:/cvsroot/emacs co emacs

Then I installed the single file MingW executable into C:\mingw and ran it
to install the mingw tools to c:/mingw/bin

I put c:\mingw\bin into my path and restarted my bash shell to read the new
path

I tried building at this point, but it failed because the Gnu make that
comes comes Cygwin has problems with the emacs source. So I found a version
on the web (it took two tries: I finally found a 3.77 on the web-- 3.75 and
3.80 failed) that was already compiled and dropped it into the c:\mingw\bin
as gmake.exe

Then I changed to the src/emacs/nt directory and did
./configure.bat --with-gcc
./gmake bootstrap (./gmake worked for a while, then told me I needed this
command instead)

At this point I renamed my current c:/gnu/emacs to c:/gnu/emacs/old. Since I
am using a c:/home directory as my home directory with my .emacs and my
local lisp tree, this makes it easy to revert if I have troubled.

Then I ran:
./gmake install INSTALL_DIR=c:/gnu/emacs

I tested with
emacs -q --no-site-file

Success! I then started it using my usual shortcut and everything works fine
with my old configuration...

Makes me wonder why I waited so long...

c





reply via email to

[Prev in Thread] Current Thread [Next in Thread]