unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Takashi Hiromatsu <matsuan@ca2.so-net.ne.jp>
To: emacs-devel@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: Re: Emacs pretest 22.0.99
Date: Tue, 01 May 2007 16:08:19 +0900	[thread overview]
Message-ID: <m2ps5lvx5o.wl%matsuan@ca2.so-net.ne.jp> (raw)
In-Reply-To: <ubqhaymu6.fsf@gnu.org>

At Fri, 27 Apr 2007 16:21:37 +0300,
Eli Zaretskii wrote:
> 
> > Date: Wed, 25 Apr 2007 09:41:45 +0900
> > From: Takashi Hiromatsu <matsuan@ca2.so-net.ne.jp>
> > 
> > |    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	other threads:[~2007-05-01  7:08 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24  2:51 Emacs pretest 22.0.99 Chong Yidong
2007-04-24  5:48 ` Nick Roberts
2007-04-24  6:13   ` Eli Zaretskii
2007-04-24  6:26     ` Nick Roberts
2007-04-24 12:10       ` Eli Zaretskii
2007-04-24 22:53         ` Nick Roberts
2007-04-25  3:26           ` Eli Zaretskii
2007-04-25  3:57             ` Nick Roberts
2007-04-25 18:02               ` Eli Zaretskii
2007-04-24 21:35       ` Richard Stallman
2007-04-24 22:57         ` Nick Roberts
2007-04-25 14:52           ` Richard Stallman
2007-04-24  6:27 ` Lennart Borgman (gmail)
2007-04-24  7:40   ` Lennart Borgman (gmail)
2007-04-24  7:59   ` Jason Rumney
2007-04-24  8:16     ` Lennart Borgman (gmail)
2007-04-24  8:29       ` Jason Rumney
2007-04-24  8:35         ` Lennart Borgman (gmail)
2007-04-24  8:44           ` Jason Rumney
2007-04-24 11:05             ` Lennart Borgman (gmail)
2007-04-24  8:03 ` Takashi Hiromatsu
2007-04-24 12:24   ` Eli Zaretskii
2007-04-25  0:41     ` Takashi Hiromatsu
2007-04-27 13:21       ` Eli Zaretskii
2007-05-01  7:08         ` Takashi Hiromatsu [this message]
2007-05-04 13:38           ` Eli Zaretskii
2007-04-26 23:17 ` Giorgos Keramidas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ps5lvx5o.wl%matsuan@ca2.so-net.ne.jp \
    --to=matsuan@ca2.so-net.ne.jp \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=takashi-hiromatsu@isuzu.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).