emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs pretest 22.0.99


From: Takashi Hiromatsu
Subject: Re: Emacs pretest 22.0.99
Date: Tue, 01 May 2007 16:08:19 +0900
User-agent: Wanderlust/2.15.5 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.10 (Furuichi) APEL/10.6 Emacs/22.0.92 (i386-apple-darwin8.8.1) MULE/5.0 (SAKAKI)

At Fri, 27 Apr 2007 16:21:37 +0300,
Eli Zaretskii wrote:
> 
> > Date: Wed, 25 Apr 2007 09:41:45 +0900
> > From: Takashi Hiromatsu <address@hidden>
> > 
> > |    cygwin compiled make 3.80:           fails?[6]     fails?[6]
> > |    cygwin compiled make 3.81:           fails         fails?[6]
> > |    mingw32 compiled make 3.79.1:        okay          okay
> > |    mingw32 compiled make 3.80:          okay          okay[6]
> > |    mingw32 compiled make 3.81:          okay          okay[7]
> > |
> > |  Notes:
> > |
> > |    [1] doesn't cope with makefiles with DOS line endings, so must mount
> > |        emacs source with text!=binary.
> > |    [2] fails when needs to invoke shell commands; okay invoking gcc etc.
> > |    [3] requires LC_MESSAGES support to build; cannot build with early
> > |        versions of cygwin.
> > |    [4] may fail on Windows 9X and Windows ME; if so, install Bash.
> > |    [5] fails when building leim due to the use of cygwin style paths.
> > |        May work if building emacs without leim.
> > |    [6] not recommended; please report if you try this combination.
> > Then I reported that I succeeded with "cygwin compiled make 3.80:"
> 
> Was that with or without a sh.exe on your PATH?  If you do have sh.exe
> on PATH, then what kind of sh.exe is it? is it the Cygwin port of Bash
> or something else?
I used Cygwin bash for build.

I will explain how I build NTEmacs on Cygwin.
----------------------------------------------------------------------------

First, I installed Cygwin distribution fully. (not a real latest)
My Cygwin make version is 3.80. (latest is 3.81)

Second, I got header files and "dll"s, that I need, from
gnuwin32(http://gnuwin32.sourceforge.net/packages.html).

bash$ mkdir /src/emacs
bash$ mkdir /src/emacs/dll

Then, I put all the required files, header files and "dll"s, in the
/src/emacs/dll directory.

bash$ cd /src/emacs
bash$ wget ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-22.0.99.tar.gz
bash$ tar zxvf emacs-22.0.99.tar.gz

Then I made un-comment 3 lines in emacs-22.0.99/nt/gmage.defs.

-#ifeq "$(shell cygpath $(CURDIR))" "$(CURDIR)"
-#CURDIR                := $(shell cygpath -m $(CURDIR))
-#endif
+ifeq "$(shell cygpath $(CURDIR))" "$(CURDIR)"
+CURDIR         := $(shell cygpath -m $(CURDIR))
+endif

bash$ cd emacs-22.0.99/nt
bash$ ./configure.bat --with-gcc --no-cygwin --no-debug \
--prefix d:/cygwin/usr/local/emacs/22.0.99 \
--cflags -I/src/emacs/cvs/dll
bash$ make all
bash$ make install
bash$ cp /src/emacs/dll/*.dll /usr/local/emacs/22.0.99/bin
bash$ /usr/local/emacs/22.0.99/bin/emacs.exe &

Then emacs start to work very well.

Regards,

Takashi Hiromatsu




reply via email to

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