* Re: Help: build emacs in cygwin (fwd)
@ 2007-03-08 11:27 Angelo Graziosi
2007-03-09 15:24 ` Eli Zaretskii
0 siblings, 1 reply; 54+ messages in thread
From: Angelo Graziosi @ 2007-03-08 11:27 UTC (permalink / raw)
To: emacs-devel; +Cc: Eli Zaretskii
Regarding the 'MAKE' questions, I would suggest to try the Cygwin patched
version of make that accepts PATH in DOS style:
http://cygwin.com/ml/cygwin/2006-11/msg00490.html
If I remeber correcly those patches were accepted upstream.
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin (fwd)
2007-03-08 11:27 Help: build emacs in cygwin (fwd) Angelo Graziosi
@ 2007-03-09 15:24 ` Eli Zaretskii
2007-03-13 13:10 ` Help: build emacs in cygwin Angelo Graziosi
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 15:24 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
> Date: Thu, 8 Mar 2007 12:27:03 +0100 (MET)
> From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
> cc: Eli Zaretskii <eliz@gnu.org>
>
> http://cygwin.com/ml/cygwin/2006-11/msg00490.html
>
> If I remeber correcly those patches were accepted upstream.
Yes, they were.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 15:24 ` Eli Zaretskii
@ 2007-03-13 13:10 ` Angelo Graziosi
2007-03-13 18:23 ` Harald Maier
0 siblings, 1 reply; 54+ messages in thread
From: Angelo Graziosi @ 2007-03-13 13:10 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii wrote:
> Strange, that's the version that caused lots of trouble to Angelo
> Graziosi. Also, he reported problems with debug info generated by
> 3.4.4-2 (can you debug your binary?).
I confirm.
I have done a build with GCC-3.4.4 (that now is 3.4.4-3, not -2) using the
configure options described here
http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00722.html
(it differs from mine only because it does not uses XAW3D) but it segment
faults in a few seconds/minutes!
Every time I use GCC-3.4.4 the result is unstable. Instead GCC-4.0.3 gives
results very stable.
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-13 13:10 ` Help: build emacs in cygwin Angelo Graziosi
@ 2007-03-13 18:23 ` Harald Maier
2007-03-14 0:52 ` Angelo Graziosi
2007-03-14 1:31 ` djh
0 siblings, 2 replies; 54+ messages in thread
From: Harald Maier @ 2007-03-13 18:23 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: Eli Zaretskii, emacs-devel
Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> writes:
> Eli Zaretskii wrote:
>
>> Strange, that's the version that caused lots of trouble to Angelo
>> Graziosi. Also, he reported problems with debug info generated by
>> 3.4.4-2 (can you debug your binary?).
>
> I confirm.
>
> I have done a build with GCC-3.4.4 (that now is 3.4.4-3, not -2) using the
> configure options described here
> http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00722.html
> (It differs from mine only because it does not uses XAW3D) but it segment
> faults in a few seconds/minutes!
>
> Every time I use GCC-3.4.4 the result is unstable. Instead GCC-4.0.3 gives
> results very stable.
Me too. An Cygwin-Emacs compiled with gcc-3.4.4 is unusable!
Especially, I saw lots of crashes by subprocess handling such as ssh
and with SQLi buffers.
Harald
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-13 18:23 ` Harald Maier
@ 2007-03-14 0:52 ` Angelo Graziosi
2007-03-14 1:31 ` djh
1 sibling, 0 replies; 54+ messages in thread
From: Angelo Graziosi @ 2007-03-14 0:52 UTC (permalink / raw)
To: emacs-devel; +Cc: Eli Zaretskii, djh
Eli Zaretskii wrote:
>> From: "djh" <address@hidden>
>> Date: Tue, 13 Mar 2007 14:51:48 +0900
>>
>> No. I get the below results. Same as Angelo, but I think Angelo was
>> trying
>> to build a native w32 version and had pathname converstion problems.
> No, he was building a Cygwin binary, not a native w32 binary.
Obviously.
I never tried to build a native 32 binary.
I refer always to a pure Cygwin build.
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-13 18:23 ` Harald Maier
2007-03-14 0:52 ` Angelo Graziosi
@ 2007-03-14 1:31 ` djh
2007-03-14 7:41 ` Jason Rumney
2007-03-22 21:41 ` emacs snapshot tarball test build Angelo Graziosi
1 sibling, 2 replies; 54+ messages in thread
From: djh @ 2007-03-14 1:31 UTC (permalink / raw)
To: Harald Maier; +Cc: Eli Zaretskii, Angelo Graziosi, emacs-devel
I did not have the problems that Angelo had. (I do have crash problems, but almost exclusively when using ddskk, a skk based Japanese input method.).
I believe Angelo also had symbol problems, that is a lack of symbols for debugging.
I believe the problem is not the compiler, but the cygwin x-window implementation.
If if the compiler, then it has been fixed (my 3.4.4 shows an installed date of December 18, 2006).
I mainly have problems (crashes) when using a Japanese input method.
Which leads me more to believe that the problem is not the compiler but the cygwin x-window implementation.
> Me too. An Cygwin-Emacs compiled with gcc-3.4.4 is unusable!
> Especially, I saw lots of crashes by subprocess handling such as ssh
> and with SQLi buffers.
>
> Harald
I just downloaded and built the newest gcc, gcc (GCC) 4.1.3 20070312 (prerelease)
and compiled emacs with it successfully.
I still get:
$ gdb /bin/emacs.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r
Starting program: /bin/emacs.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw-8.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXp-6.dll
Loaded symbols for /usr/X11R6/bin/cygXau-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
emacs: standard input is not a tty
Program exited with code 01.
-----
Which leads me to believe it is not a compiler problem.
Darel
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-14 1:31 ` djh
@ 2007-03-14 7:41 ` Jason Rumney
2007-03-22 21:41 ` emacs snapshot tarball test build Angelo Graziosi
1 sibling, 0 replies; 54+ messages in thread
From: Jason Rumney @ 2007-03-14 7:41 UTC (permalink / raw)
To: djh; +Cc: Eli Zaretskii, Harald Maier, emacs-devel, Angelo Graziosi
djh wrote:
> I mainly have problems (crashes) when using a Japanese input method.
> Which leads me more to believe that the problem is not the compiler but the cygwin x-window implementation.
>
I think there is a bug in the interaction between skk and some versions
of X and/or certain window managers. I've seen lockups and crashes on
GNU/Linux with certain combinations not involving Emacs or Cygwin.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-14 1:31 ` djh
2007-03-14 7:41 ` Jason Rumney
@ 2007-03-22 21:41 ` Angelo Graziosi
2007-03-23 1:34 ` djh
2007-03-23 4:37 ` emacs snapshot tarball test build Richard Stallman
1 sibling, 2 replies; 54+ messages in thread
From: Angelo Graziosi @ 2007-03-22 21:41 UTC (permalink / raw)
To: djh; +Cc: emacs-devel
djh wrote:
> The only problem is shown below (and maybe it is not a real problem).
>
> --------
> make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/leim'
> cd lib-src; make maybe-blessmail \
> MAKE='make' archlibdir='/libexec/emacs/22.0.95/i686-pc-cygwin'
> make[1]: Entering directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> ../src/emacs -batch --no-site-file --multibyte -l
> /usr/src/emacs-tmp/emacs-22.0.95/lib-src/../lisp/mail/blessmail.el
> Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)
> make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> make: *** [blessmail] Error 2
> ------
This often happens boostraping Emacs on Cygwin.
Workaround: try to build in another nested directory.
Generally, a build with the above problem gives problems!
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-22 21:41 ` emacs snapshot tarball test build Angelo Graziosi
@ 2007-03-23 1:34 ` djh
2007-03-23 9:09 ` Angelo Graziosi
2007-03-23 14:04 ` Eli Zaretskii
2007-03-23 4:37 ` emacs snapshot tarball test build Richard Stallman
1 sibling, 2 replies; 54+ messages in thread
From: djh @ 2007-03-23 1:34 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: djh, emacs-devel
Thanks Angelo. But, one shouldn't have to build in a specific directory, or guess about a directory structure, and this should be an easy thing to fix.
If it is a semi-hard coded (if should a thing code be) reference or assumption in a Makefile then it should be corrected in my opinion.
It would be good to know why "make" aborted on blessmail.el. It was reported as
"Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)" below.
> djh wrote:
> > The only problem is shown below (and maybe it is not a real problem).
> > --------
> > make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/leim'
> > cd lib-src; make maybe-blessmail \
> > MAKE='make' archlibdir='/libexec/emacs/22.0.95/i686-pc-cygwin'
> > make[1]: Entering directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> > ../src/emacs -batch --no-site-file --multibyte -l
> > /usr/src/emacs-tmp/emacs-22.0.95/lib-src/../lisp/mail/blessmail.el
> > Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)
> > make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> > make: *** [blessmail] Error 2
> > ------
>
>
> This often happens boostraping Emacs on Cygwin.
> Workaround: try to build in another nested directory.
> Generally, a build with the above problem gives problems!
>
> Cheers,
> Angelo.
Regards,
Darel Henman
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-23 1:34 ` djh
@ 2007-03-23 9:09 ` Angelo Graziosi
2007-03-23 14:04 ` Eli Zaretskii
1 sibling, 0 replies; 54+ messages in thread
From: Angelo Graziosi @ 2007-03-23 9:09 UTC (permalink / raw)
To: djh; +Cc: emacs-devel
On Fri, 23 Mar 2007, djh wrote:
>
> Thanks Angelo. But, one shouldn't have to build in a specific directory, or guess about a directory structure, and this should be an easy thing to fix.
>
> If it is a semi-hard coded (if should a thing code be) reference or assumption in a Makefile then it should be corrected in my opinion.
>
> It would be good to know why "make" aborted on blessmail.el. It was reported as
> "Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)" below.
Boostrapping Emacs on Cygwin, one often has "Fatal error
(6)make[1]:..." not only at the end, when installing, with "blessmail",
but also when it starts to compile "el" files or after it has rebuilt the
final version of "emacs.exe".
Theste errors happen at random, without an evident logic.
Usually, changing the build directory (increasing the nested level) solve
the thing (same Emacs CVS source).
So correcting the Makefile left some doubts (but I can err).
Obviously, the bootstrap of the same CVS code on GNU/Linux Kubuntu does
not give any problem.
Cheers,
Angelo.
>
> > djh wrote:
> > > The only problem is shown below (and maybe it is not a real problem).
> > > --------
> > > make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/leim'
> > > cd lib-src; make maybe-blessmail \
> > > MAKE='make' archlibdir='/libexec/emacs/22.0.95/i686-pc-cygwin'
> > > make[1]: Entering directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> > > ../src/emacs -batch --no-site-file --multibyte -l
> > > /usr/src/emacs-tmp/emacs-22.0.95/lib-src/../lisp/mail/blessmail.el
> > > Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)
> > > make[1]: Leaving directory `/usr/src/emacs-tmp/emacs-22.0.95/lib-src'
> > > make: *** [blessmail] Error 2
> > > ------
> >
> >
> > This often happens boostraping Emacs on Cygwin.
> > Workaround: try to build in another nested directory.
> > Generally, a build with the above problem gives problems!
> >
> > Cheers,
> > Angelo.
>
> Regards,
> Darel Henman
>
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-23 1:34 ` djh
2007-03-23 9:09 ` Angelo Graziosi
@ 2007-03-23 14:04 ` Eli Zaretskii
2007-04-04 11:32 ` Pretest 22.0.97 Angelo Graziosi
` (2 more replies)
1 sibling, 3 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-23 14:04 UTC (permalink / raw)
To: djh; +Cc: Angelo.Graziosi, henman, emacs-devel
> From: "djh" <henman@it.to-be.co.jp>
> Date: Fri, 23 Mar 2007 10:34:19 +0900
> Cc: djh <henman@it.to-be.co.jp>, emacs-devel@gnu.org
>
> It would be good to know why "make" aborted on blessmail.el. It was reported as
> "Fatal error (6)make[1]: *** [blessmail] Aborted (core dumped)" below.
It's not "make" who aborted, it's Emacs. "make" just printed a
human-readable description of why Emacs died.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-22 21:41 ` emacs snapshot tarball test build Angelo Graziosi
2007-03-23 1:34 ` djh
@ 2007-03-23 4:37 ` Richard Stallman
2007-03-23 13:58 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: Richard Stallman @ 2007-03-23 4:37 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: henman, emacs-devel
This often happens boostraping Emacs on Cygwin.
Workaround: try to build in another nested directory.
Is this documented in the installation instructions?
In etc/PROBLEMS?
If not, would someone like to add that info?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: emacs snapshot tarball test build
2007-03-23 4:37 ` emacs snapshot tarball test build Richard Stallman
@ 2007-03-23 13:58 ` Eli Zaretskii
0 siblings, 0 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-23 13:58 UTC (permalink / raw)
To: rms; +Cc: Angelo.Graziosi, henman, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> Date: Fri, 23 Mar 2007 00:37:11 -0400
> Cc: henman@it.to-be.co.jp, emacs-devel@gnu.org
>
> This often happens boostraping Emacs on Cygwin.
>
> Workaround: try to build in another nested directory.
>
> Is this documented in the installation instructions?
> In etc/PROBLEMS?
>
> If not, would someone like to add that info?
These are not workarounds that I'd recommend adding to PROBLEMS.
In general, if the problem only happens during bootstrap, and doesn't
have a good workarounds, I'd say let's ignore it. Most Emacs users
will never bootstrap.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Help: build emacs in cygwin
@ 2007-03-06 8:01 William Xue
2007-03-06 20:40 ` Eli Zaretskii
[not found] ` <87ejo2nrf6.fsf@offby1.atm01.sea.blarg.net>
0 siblings, 2 replies; 54+ messages in thread
From: William Xue @ 2007-03-06 8:01 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
Hi all,
I'm attempting to build emacs in cygwin and encountered a problem with :
mv -f emacs.exe bootstrap-emacs.exe
mv: cannot stat `emacs.exe': No such file or directory
I checked Makefile in ./src, but could not find when emacs.exe would
generate before bootstrap was ok.
I attached the Makefile. Hope it will help you give me some instructions
to go on.
Thanks!
--
Sincerely yours,
William
[-- Attachment #2: Makefile --]
[-- Type: application/octet-stream, Size: 22396 bytes --]
# Makefile for GNU Emacs.
# Copyright (C) 1985, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
# Note that this file is edited by msdos/sed1v2.inp for MSDOS. That
# script may need modifying in sync with changes made here. Try to
# avoid shell-ism because the DOS build has to use the DOS shell.
# Don't try to replace the cpp processing using autoconf facilities,
# says rms.
# Here are the things that we expect ../configure to edit.
# We use $(srcdir) explicitly in dependencies so as not to depend on VPATH.
srcdir=/src/opensource/emacs/src
VPATH=/src/opensource/emacs/src
CC=gcc
CPP=gcc -E
CFLAGS=-g -O2
CPPFLAGS=
LDFLAGS=
LN_S=ln -s
EXEEXT=.exe
version=23.0.0
# Substitute an assignment for the MAKE variable, because
# BSD doesn't have it as a default.
# Don't use LIBS. configure puts stuff in it that either shouldn't be
# linked with Emacs or is duplicated by the cpp stuff below.
# LIBS = -lm
LIBOBJS = ${LIBOBJDIR}mktime$U.o ${LIBOBJDIR}getloadavg$U.o
# On Xenix and the IBM RS6000, double-dot gets screwed up.
dot = .
dotdot = ${dot}${dot}
lispsource = ${srcdir}/$(dot)$(dot)/lisp/
admindir = $(srcdir)/$(dot)$(dot)/admin/
libsrc = $(dot)$(dot)/lib-src/
etc = $(dot)$(dot)/etc/
oldXMenudir = $(dot)$(dot)/oldXMenu/
lwlibdir = $(dot)$(dot)/lwlib/
lispdir = $(dot)$(dot)/lisp/
# Configuration files for .o files to depend on.
M_FILE = ${srcdir}/m/intel386.h
S_FILE = ${srcdir}/s/cygwin.h
config_h = config.h $(M_FILE) $(S_FILE)
# ========================== start of cpp stuff =======================
C_SWITCH_SYSTEM=
SHELL=/bin/sh
STARTFILES = ecrt0.o
TOOLKIT_DEFINES =
ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAGS) -I. -I${srcdir} ${CFLAGS_SOUND} ${CFLAGS}
.c.o:
$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
XMENU_OBJ = xmenu.o
LIBSOUND=
CFLAGS_SOUND=
GNULIB_VAR = `$(CC) -print-libgcc-file-name`
LD=$(CC) -Wl,--image-base,0x20000000
TEMACS_LDFLAGS =
INTERVAL_SRC = intervals.h composite.h
GETLOADAVG_LIBS =
CYGWIN_OBJ = sheap.o
obj= dispnew.o frame.o scroll.o xdisp.o $(XMENU_OBJ) window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o $(XOBJ) $(GTK_OBJ) emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexcw.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o $(MSDOS_OBJ) $(MAC_OBJ) $(CYGWIN_OBJ) $(FONTOBJ)
SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONTOBJ)
termcapobj = terminfo.o
gmallocobj = gmalloc.o
rallocobj = ralloc.o
mallocobj = $(gmallocobj) $(rallocobj) vm-limit.o
allocaobj =
widgetobj=
otherobj= $(termcapobj) $(gmallocobj) $(rallocobj) lastfile.o vm-limit.o $(allocaobj) $(widgetobj) $(LIBOBJS)
lisp= ${lispsource}abbrev.elc ${lispsource}buff-menu.elc ${lispsource}button.elc ${lispsource}emacs-lisp/byte-run.elc ${lispsource}composite.elc ${lispsource}cus-face.elc ${lispsource}cus-start.elc ${lispsource}custom.elc ${lispsource}emacs-lisp/backquote.elc ${lispsource}emacs-lisp/lisp-mode.elc ${lispsource}emacs-lisp/lisp.elc ${lispsource}env.elc ${lispsource}faces.elc ${lispsource}files.elc ${lispsource}format.elc ${lispsource}facemenu.elc ${lispsource}emacs-lisp/float-sup.elc ${lispsource}frame.elc ${lispsource}help.elc ${lispsource}indent.elc ${lispsource}isearch.elc ${lispsource}rfn-eshadow.elc ${lispsource}loadup.el ${lispsource}loaddefs.el ${lispsource}bindings.elc ${lispsource}emacs-lisp/map-ynp.elc ${lispsource}menu-bar.elc ${lispsource}international/mule.elc ${lispsource}international/mule-conf.el ${lispsource}international/mule-cmds.elc ${lispsource}international/characters.elc ${lispsource}international/charprop.el ${lispsource}case-table.elc ${lispsource}language/chinese.el ${lispsource}language/cyrillic.el ${lispsource}language/indian.el ${lispsource}language/devanagari.el ${lispsource}language/kannada.el ${lispsource}language/malayalam.el ${lispsource}language/tamil.el ${lispsource}language/english.el ${lispsource}language/ethiopic.elc ${lispsource}language/european.elc ${lispsource}language/czech.el ${lispsource}language/slovak.el ${lispsource}language/romanian.el ${lispsource}language/greek.el ${lispsource}language/hebrew.el ${lispsource}language/japanese.el ${lispsource}language/korean.el ${lispsource}language/lao.el ${lispsource}language/thai.el ${lispsource}language/tibetan.elc ${lispsource}language/vietnamese.el ${lispsource}language/misc-lang.el ${lispsource}language/utf-8-lang.el ${lispsource}language/georgian.el ${lispsource}paths.el ${lispsource}register.elc ${lispsource}replace.elc ${lispsource}simple.elc ${lispsource}startup.elc ${lispsource}subr.elc ${lispsource}term/tty-colors.elc ${lispsource}font-core.elc ${lispsource}emacs-lisp/syntax.elc ${lispsource}font-lock.elc ${lispsource}jit-lock.elc ${lispsource}textmodes/fill.elc ${lispsource}textmodes/page.elc ${lispsource}textmodes/paragraphs.elc ${lispsource}textmodes/text-mode.elc ${lispsource}emacs-lisp/timer.elc ${lispsource}jka-cmpr-hook.elc ${lispsource}vc-hooks.elc ${lispsource}ediff-hook.elc ${lispsource}widget.elc ${lispsource}window.elc ${lispsource}version.el
shortlisp= ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/button.elc ../lisp/emacs-lisp/byte-run.elc ../lisp/composite.elc ../lisp/cus-face.elc ../lisp/cus-start.elc ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/emacs-lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/rfn-eshadow.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/emacs-lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/case-table.elc ../lisp/language/chinese.el ../lisp/language/cyrillic.el ../lisp/language/indian.el ../lisp/language/devanagari.el ../lisp/language/kannada.el ../lisp/language/malayalam.el ../lisp/language/tamil.el ../lisp/language/english.el ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.el ../lisp/language/slovak.el ../lisp/language/romanian.el ../lisp/language/greek.el ../lisp/language/hebrew.el ../lisp/language/japanese.el ../lisp/language/korean.el ../lisp/language/lao.el ../lisp/language/thai.el ../lisp/language/tibetan.elc ../lisp/language/vietnamese.el ../lisp/language/misc-lang.el ../lisp/language/utf-8-lang.el ../lisp/language/georgian.el ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/font-core.elc ../lisp/emacs-lisp/syntax.elc ../lisp/font-lock.elc ../lisp/jit-lock.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/emacs-lisp/timer.elc ../lisp/vc-hooks.elc ../lisp/jka-cmpr-hook.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el
SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc ${dotdot}/lisp/vmsproc.elc ${dotdot}/lisp/vms-patch.elc ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc ${dotdot}/lisp/w32-fns.elc ${dotdot}/lisp/dos-w32.elc ${dotdot}/lisp/disp-table.elc ${dotdot}/lisp/dos-vars.elc ${dotdot}/lisp/tooltip.elc ${dotdot}/lisp/image.elc ${dotdot}/lisp/fringe.elc ${dotdot}/lisp/dnd.elc ${dotdot}/lisp/mwheel.elc ${dotdot}/lisp/tool-bar.elc ${dotdot}/lisp/x-dnd.elc ${dotdot}/lisp/international/ccl.elc ${dotdot}/lisp/international/codepage.elc ${dotdot}/lisp/international/fontset.elc
LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) -lcurses -lg $(GETLOADAVG_LIBS) $(GNULIB_VAR) -lm -lc $(GNULIB_VAR)
RUN_TEMACS = `/bin/pwd`/temacs
all: emacs${EXEEXT}
emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
-./emacs -q -batch -f list-load-path-shadows
${etc}DOC: ${libsrc}make-docfile${EXEEXT} ${obj} ${shortlisp} ${SOME_MACHINE_LISP}
-rm -f ${etc}DOC
${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
${libsrc}make-docfile${EXEEXT}:
cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
UNIDATA=${admindir}unidata/UnicodeData.txt
${lispsource}international/charprop.el: ${UNIDATA}
RUNEMACS="$(RUN_TEMACS)"; cd ${admindir}unidata; $(MAKE) $(MFLAGS) RUNEMACS="$${RUNEMACS}" DSTDIR=${lispsource}international
temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
echo "${obj} ${otherobj} " > buildobj.lst
$(LD) ${STARTFLAGS} ${TEMACS_LDFLAGS} $(LDFLAGS) -o temacs ${STARTFILES} ${obj} ${otherobj} ${LIBES}
prefix-args${EXEEXT}: prefix-args.c $(config_h)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
stamp-oldxmenu:
touch stamp-oldxmenu
../config.status:: epaths.in
@echo "The file epaths.h needs to be set up from epaths.in."
@echo "Please run the `configure' script again."
exit 1
../config.status:: config.in
@echo "The file config.h needs to be set up from config.in."
@echo "Please run the `configure' script again."
exit 1
alloca.o: alloca.c blockinput.h atimer.h
abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h character.h syntax.h $(config_h)
buffer.o: buffer.c buffer.h region-cache.h commands.h window.h dispextern.h $(INTERVAL_SRC) blockinput.h atimer.h systime.h character.h $(config_h)
callint.o: callint.c window.h commands.h buffer.h keymap.h keyboard.h dispextern.h $(config_h)
callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) process.h systty.h syssignal.h character.h coding.h ccl.h msdos.h composite.h w32.h blockinput.h atimer.h systime.h
casefiddle.o: casefiddle.c syntax.h commands.h buffer.h character.h composite.h charset.h keymap.h $(config_h)
casetab.o: casetab.c buffer.h $(config_h)
category.o: category.c category.h buffer.h charset.h keymap.h character.h $(config_h)
ccl.o: ccl.c ccl.h charset.h character.h coding.h $(config_h)
character.o: character.c character.h buffer.h charset.h composite.h disptab.h $(config.h)
charset.o: charset.c charset.h character.h buffer.h coding.h composite.h disptab.h $(config_h)
chartab.o: charset.h character.h $(config.h)
coding.o: coding.c coding.h ccl.h buffer.h character.h charset.h intervals.h composite.h window.h dispextern.h $(config_h)
cm.o: cm.c cm.h termhooks.h $(config_h)
cmds.o: cmds.c syntax.h buffer.h character.h commands.h window.h $(config_h) msdos.h dispextern.h keyboard.h keymap.h
pre-crt0.o: pre-crt0.c
ecrt0.o: ecrt0.c $(config_h)
$(CC) -c $(ALL_CFLAGS) ${srcdir}/ecrt0.c
dired.o: dired.c commands.h buffer.h $(config_h) character.h charset.h coding.h regex.h systime.h blockinput.h
dispnew.o: dispnew.c systty.h systime.h commands.h process.h frame.h window.h buffer.h dispextern.h termchar.h termopts.h termhooks.h cm.h disptab.h indent.h intervals.h xterm.h blockinput.h atimer.h character.h msdos.h composite.h keyboard.h $(config_h)
doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h keymap.h character.h
doprnt.o: doprnt.c character.h $(config_h)
dosfns.o: buffer.h termchar.h termhooks.h frame.h blockinput.h window.h msdos.h dosfns.h dispextern.h charset.h coding.h $(config_h)
editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) character.h coding.h dispextern.h frame.h blockinput.h $(config_h)
emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h termhooks.h buffer.h atimer.h systime.h $(INTERVAL_SRC) $(config_h) window.h dispextern.h keyboard.h keymap.h
fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) character.h coding.h msdos.h dispextern.h blockinput.h $(config_h)
filelock.o: filelock.c buffer.h character.h charset.h coding.h systime.h epaths.h $(config_h)
filemode.o: filemode.c $(config_h)
frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h blockinput.h atimer.h systime.h buffer.h character.h fontset.h msdos.h dosfns.h dispextern.h w32term.h macterm.h $(config_h)
fringe.o: fringe.c dispextern.h frame.h window.h buffer.h $(config_h)
font.o: font.c dispextern.h frame.h window.h ccl.h character.h charset.h font.h $(config_h)
ftfont.o: dispextern.h frame.h character.h charset.h font.h $(config_h)
fontset.o: dispextern.h fontset.h fontset.c ccl.h buffer.h character.h charset.h frame.h keyboard.h $(FONTSRC) $(config_h)
getloadavg.o: getloadavg.c $(config_h)
image.o: image.c frame.h window.h dispextern.h blockinput.h atimer.h systime.h xterm.h w32term.h w32gui.h macterm.h macgui.h $(config_h)
indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h termopts.h disptab.h region-cache.h character.h category.h composite.h dispextern.h keyboard.h
insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h character.h dispextern.h atimer.h systime.h region-cache.h $(config_h)
keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h character.h commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h systty.h systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h atimer.h xterm.h puresize.h msdos.h keymap.h w32term.h macterm.h $(config_h)
keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h atimer.h systime.h puresize.h character.h intervals.h keymap.h window.h $(config_h)
lastfile.o: lastfile.c $(config_h)
macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h dispextern.h $(config_h)
malloc.o: malloc.c $(config_h)
gmalloc.o: gmalloc.c $(config_h)
ralloc.o: ralloc.c $(config_h)
vm-limit.o: vm-limit.c mem-limits.h $(config_h)
marker.o: marker.c buffer.h character.h $(config_h)
md5.o: md5.c md5.h $(config_h)
minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h keyboard.h buffer.h commands.h character.h msdos.h $(INTERVAL_SRC) keymap.h $(config_h)
mktime.o: mktime.c $(config_h)
msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h termopts.h termchar.h character.h coding.h ccl.h disptab.h window.h keyboard.h intervals.h buffer.h commands.h blockinput.h $(config_h)
process.o: process.c process.h buffer.h window.h termhooks.h termopts.h commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h keyboard.h $(config_h)
regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h character.h charset.h
region-cache.o: region-cache.c buffer.h region-cache.h $(config_h)
scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h keyboard.h $(config_h)
search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h blockinput.h atimer.h systime.h category.h character.h charset.h composite.h $(INTERVAL_SRC) $(config_h)
strftime.o: strftime.c $(config_h)
syntax.o: syntax.c syntax.h buffer.h commands.h category.h character.h composite.h keymap.h regex.h $(INTERVAL_SRC) $(config_h)
sysdep.o: sysdep.c syssignal.h systty.h systime.h syswait.h blockinput.h process.h dispextern.h termhooks.h termchar.h termopts.h frame.h atimer.h window.h msdos.h dosfns.h keyboard.h $(config_h)
term.o: term.c termchar.h termhooks.h termopts.h $(config_h) cm.h frame.h disptab.h dispextern.h keyboard.h character.h charset.h coding.h ccl.h msdos.h window.h keymap.h
termcap.o: termcap.c $(config_h)
terminfo.o: terminfo.c $(config_h)
tparam.o: tparam.c $(config_h)
undo.o: undo.c buffer.h commands.h window.h $(config_h)
UNEXEC_ALIAS=unexcw.o
$(UNEXEC_ALIAS): unexcw.c $(config_h)
w16select.o: w16select.c dispextern.h frame.h blockinput.h atimer.h systime.h msdos.h buffer.h charset.h coding.h composite.h $(config_h)
widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h $(srcdir)/../lwlib/lwlib.h $(config_h)
window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h termhooks.h disptab.h keyboard.h dispextern.h msdos.h composite.h keymap.h blockinput.h $(INTERVAL_SRC) xterm.h w32term.h macterm.h $(config_h)
xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h coding.h termchar.h frame.h window.h disptab.h termhooks.h character.h charset.h keyboard.h $(INTERVAL_SRC) region-cache.h xterm.h w32term.h macterm.h $(config_h) msdos.h composite.h fontset.h blockinput.h atimer.h systime.h keymap.h $(FONTSRC)
xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h window.h character.h charset.h msdos.h dosfns.h composite.h atimer.h systime.h keyboard.h fontset.h w32term.h macterm.h $(INTERVAL_SRC) $(FONTSRC) $(config_h)
xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h character.h charset.h coding.h gtkutil.h $(config_h) termhooks.h fontset.h $(FONTSRC)
xfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h font.h $(config_h)
xftfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h font.h $(config_h)
ftxfont.o: dispextern.h xterm.h frame.h blockinput.h character.h charset.h font.h $(config_h)
xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h charset.h keyboard.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h gtkutil.h msdos.h coding.h $(config_h)
xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h keyboard.h gnu.h character.h charset.h ccl.h fontset.h composite.h coding.h process.h gtkutil.h $(FONTSRC) $(config_h)
xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h buffer.h atimer.h systime.h $(config_h)
xrdb.o: xrdb.c $(config_h) epaths.h
xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h termhooks.h xterm.h lisp.h termopts.h
gtkutil.o: gtkutil.c gtkutil.h xterm.h lisp.h frame.h $(config_h) blockinput.h window.h atimer.h termhooks.h keyboard.h charset.h coding.h
hftctl.o: hftctl.c $(config_h)
sound.o: sound.c dispextern.h $(config_h)
atimer.o: atimer.c atimer.h systime.h $(config_h)
alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h keyboard.h blockinput.h atimer.h systime.h character.h dispextern.h $(config_h) $(INTERVAL_SRC)
bytecode.o: bytecode.c buffer.h syntax.h character.h window.h dispextern.h frame.h xterm.h $(config_h)
data.o: data.c buffer.h puresize.h character.h syssignal.h keyboard.h frame.h $(config_h)
eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h dispextern.h $(config_h)
floatfns.o: floatfns.c $(config_h)
fns.o: fns.c commands.h $(config_h) frame.h buffer.h character.h keyboard.h keymap.h frame.h window.h dispextern.h $(INTERVAL_SRC) coding.h md5.h blockinput.h xterm.h
print.o: print.c process.h frame.h window.h buffer.h keyboard.h character.h $(config_h) dispextern.h termchar.h $(INTERVAL_SRC) msdos.h composite.h
lread.o: lread.c commands.h keyboard.h buffer.h epaths.h character.h charset.h $(config_h) $(INTERVAL_SRC) termhooks.h coding.h msdos.h
textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVAL_SRC) $(config_h)
intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h keymap.h $(config_h)
composite.o: composite.c buffer.h character.h $(INTERVAL_SRC) $(config_h)
sunfns.o: sunfns.c buffer.h window.h dispextern.h $(config_h)
${libsrc}emacstool${EXEEXT}: ${libsrc}emacstool.c
cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool${EXEEXT}
bootstrapclean:
rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT}
mostlyclean:
rm -f temacs${EXEEXT} prefix-args${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
rm -f ../etc/DOC
rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT}
rm -f buildobj.lst
clean: mostlyclean
rm -f emacs-*${EXEEXT} emacs${EXEEXT}
distclean: clean
rm -f epaths.h config.h Makefile Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
mv ./.gdbinit ./.gdbinit.save
if test -f "${srcdir}/.gdbinit"; then rm -f ./.gdbinit.save; else mv ./.gdbinit.save ./.gdbinit; fi
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
rm -f TAGS
versionclean:
-rm -f emacs${EXEEXT} emacs-* ../etc/DOC*
extraclean: distclean
-rm -f *~ \#* m/?*~ s/?*~
SOURCES = *.[ch] [sm]/?* COPYING Makefile.in config.in epaths.in README COPYING ChangeLog vms.pp-trans
unlock:
chmod u+w $(SOURCES)
relock:
chmod -w $(SOURCES)
chmod +w epaths.h
ctagsfiles1 = [xyzXYZ]*.[hc]
ctagsfiles2 = [a-wA-W]*.[hc]
TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
../lib-src/etags --include=TAGS-LISP --include=${lwlibdir}/TAGS --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
frc:
TAGS-LISP: frc
$(MAKE) -f ${lispdir}Makefile TAGS-LISP ETAGS=../lib-src/etags
$(lwlibdir)TAGS:
(cd $(lwlibdir); $(MAKE) -f $(lwlibdir)Makefile tags ETAGS=../lib-src/etags)
tags: TAGS TAGS-LISP $(lwlibdir)TAGS
.PHONY: tags
bootstrap: bootstrap-emacs${EXEEXT}
bootstrap-emacs${EXEEXT}: temacs${EXEEXT} ${lispsource}international/charprop.el
$(RUN_TEMACS) --batch --load loadup bootstrap
mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-06 8:01 Help: build emacs in cygwin William Xue
@ 2007-03-06 20:40 ` Eli Zaretskii
2007-03-07 1:27 ` William Xue
[not found] ` <87ejo2nrf6.fsf@offby1.atm01.sea.blarg.net>
1 sibling, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-06 20:40 UTC (permalink / raw)
To: William Xue; +Cc: emacs-devel
> Date: Tue, 06 Mar 2007 16:01:30 +0800
> From: "William Xue" <william.xue@gmail.com>
>
> I'm attempting to build emacs in cygwin and encountered a problem with :
>
> mv -f emacs.exe bootstrap-emacs.exe
> mv: cannot stat `emacs.exe': No such file or directory
Please show the entire transcript of the build, starting with
"make bootstrap". The Makefile itself does not have enough
information about the possible reason(s) for your problem.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-06 20:40 ` Eli Zaretskii
@ 2007-03-07 1:27 ` William Xue
2007-03-07 4:24 ` Eli Zaretskii
0 siblings, 1 reply; 54+ messages in thread
From: William Xue @ 2007-03-07 1:27 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On Wed, 07 Mar 2007 04:40:00 +0800, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 06 Mar 2007 16:01:30 +0800
>> From: "William Xue" <william.xue@gmail.com>
>>
>> I'm attempting to build emacs in cygwin and encountered a problem with :
>>
>> mv -f emacs.exe bootstrap-emacs.exe
>> mv: cannot stat `emacs.exe': No such file or directory
>
> Please show the entire transcript of the build, starting with
> "make bootstrap". The Makefile itself does not have enough
> information about the possible reason(s) for your problem.
Eli, you mentioned 'transcript', is it the following?
---8<-------------------------------------------------------------------->8---
[williamx@williamnb emacs]$ make bootstrap
(cd src; make mostlyclean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/src'
rm -f temacs.exe prefix-args.exe core *.core \#* *.o libXMenu11.a liblw.a
rm -f ../etc/DOC
rm -f bootstrap-emacs.exe emacs-23.0.0.exe
rm -f buildobj.lst
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/src'
(cd oldXMenu; make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/oldXMenu'
rm -f libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o
Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o
FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o
SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o
XDestAssoc.o XMakeAssoc.o insque.o
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/oldXMenu'
(cd lwlib; make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/lwlib'
rm -f *.o core errs ,* *.a .emacs_* make.log MakeOut \#*
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/lwlib'
(cd lib-src; make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/lib-src'
rm -f core *.o getopt.h getopt.h-t
rm -f etags.exe ctags.exe emacsclient.exe b2m.exe ebrowse.exe profile.exe
digest-doc.exe sorted-doc.exe movemail.exe cvtmail.exe fakemail.exe
hexl.exe update-game-score.exe test-distrib.exe make-docfile.exe
rm -f fns*.el *.tab.c *.tab.h
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/lib-src'
(cd man && make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/man'
rm -f *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.*
rm -f *.dvi
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/man'
(cd lispref && make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/lispref'
rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
*.vr *.vrs *.pg *.pgs *.ky *.kys
rm -f make.out core
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/lispref'
(cd lispintro && make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/lispintro'
rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
rm -f *.dvi
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/lispintro'
(cd leim; make clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/leim'
rm -f quail/CCDOSPY.elc quail/Punct.elc quail/QJ.elc quail/SW.elc
quail/TONEPY.elc quail/4Corner.elc quail/ARRAY30.elc quail/ECDICT.elc
quail/ETZY.elc quail/Punct-b5.elc quail/PY-b5.elc quail/QJ-b5.elc
quail/ZOZY.elc quail/tsang-b5.elc quail/quick-b5.elc quail/tsang-cns.elc
quail/quick-cns.elc quail/PY.elc quail/ZIRANMA.elc quail/CTLau.elc
quail/CTLau-b5.elc quail/CCDOSPY.el quail/Punct.el quail/QJ.el quail/SW.el
quail/TONEPY.el quail/4Corner.el quail/ARRAY30.el quail/ECDICT.el
quail/ETZY.el quail/Punct-b5.el quail/PY-b5.el quail/QJ-b5.el
quail/ZOZY.el quail/tsang-b5.el quail/quick-b5.el quail/tsang-cns.el
quail/quick-cns.el quail/PY.el quail/ZIRANMA.el quail/CTLau.el
quail/CTLau-b5.el \
leim-list.el changed.tit changed.misc
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/leim'
(cd lisp; make bootstrap-clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/lisp'
cd /src/opensource/emacs/lisp; rm -f *.elc */*.elc
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/lisp'
(cd leim; make bootstrap-clean)
make[1]: Entering directory `/cygdrive/i/opensource/emacs/leim'
rm -f quail/CCDOSPY.elc quail/Punct.elc quail/QJ.elc quail/SW.elc
quail/TONEPY.elc quail/4Corner.elc quail/ARRAY30.elc quail/ECDICT.elc
quail/ETZY.elc quail/Punct-b5.elc quail/PY-b5.elc quail/QJ-b5.elc
quail/ZOZY.elc quail/tsang-b5.elc quail/quick-b5.elc quail/tsang-cns.elc
quail/quick-cns.elc quail/PY.elc quail/ZIRANMA.elc quail/CTLau.elc
quail/CTLau-b5.elc quail/CCDOSPY.el quail/Punct.el quail/QJ.el quail/SW.el
quail/TONEPY.el quail/4Corner.el quail/ARRAY30.el quail/ECDICT.el
quail/ETZY.el quail/Punct-b5.el quail/PY-b5.el quail/QJ-b5.el
quail/ZOZY.el quail/tsang-b5.el quail/quick-b5.el quail/tsang-cns.el
quail/quick-cns.el quail/PY.el quail/ZIRANMA.el quail/CTLau.el
quail/CTLau-b5.el \
leim-list.el changed.tit changed.misc
rm -f quail/CCDOSPY.elc quail/Punct.elc quail/QJ.elc quail/SW.elc
quail/TONEPY.elc /src/opensource/emacs/leim/quail/py-punct.elc
quail/4Corner.elc quail/ARRAY30.elc quail/ECDICT.elc quail/ETZY.elc
quail/Punct-b5.elc quail/PY-b5.elc quail/QJ-b5.elc quail/ZOZY.elc
/src/opensource/emacs/leim/quail/pypunct-b5.elc
/src/opensource/emacs/leim/quail/japanese.elc
/src/opensource/emacs/leim/ja-dic/ja-dic.elc
/src/opensource/emacs/leim/quail/hangul.elc
/src/opensource/emacs/leim/quail/hangul3.elc
/src/opensource/emacs/leim/quail/hanja.elc
/src/opensource/emacs/leim/quail/hanja3.elc
/src/opensource/emacs/leim/quail/hanja-jis.elc
/src/opensource/emacs/leim/quail/symbol-ksc.elc
/src/opensource/emacs/leim/quail/thai.elc
/src/opensource/emacs/leim/quail/viqr.elc
/src/opensource/emacs/leim/quail/vntelex.elc
/src/opensource/emacs/leim/quail/lao.elc
/src/opensource/emacs/leim/quail/lrt.elc
/src/opensource/emacs/leim/quail/indian.elc
/src/opensource/emacs/leim/quail/tibetan.elc
/src/opensource/emacs/leim/quail/latin-pre.elc
/src/opensource/emacs/leim/quail/latin-post.elc
/src/opensource/emacs/leim/quail/latin-alt.elc
/src/opensource/emacs/leim/quail/latin-ltx.elc
/src/opensource/emacs/leim/quail/welsh.elc
/src/opensource/emacs/leim/quail/czech.elc
/src/opensource/emacs/leim/quail/croatian.elc
/src/opensource/emacs/leim/quail/slovak.elc
/src/opensource/emacs/leim/quail/greek.elc
/src/opensource/emacs/leim/quail/cyrillic.elc
/src/opensource/emacs/leim/quail/cyril-jis.elc
/src/opensource/emacs/leim/quail/ethiopic.elc
/src/opensource/emacs/leim/quail/ipa.elc
/src/opensource/emacs/leim/quail/hebrew.elc
/src/opensource/emacs/leim/quail/georgian.elc
/src/opensource/emacs/leim/quail/sisheng.elc quail/tsang-b5.elc
quail/quick-b5.elc quail/tsang-cns.elc quail/quick-cns.elc quail/PY.elc
quail/ZIRANMA.elc quail/CTLau.elc quail/CTLau-b5.elc
/src/opensource/emacs/leim/quail/sgml-input.elc
/src/opensource/emacs/leim/quail/rfc1345.elc
/src/opensource/emacs/leim/quail/uni-input.elc
make[1]: Leaving directory `/cygdrive/i/opensource/emacs/leim'
make info bootstrap-build
make[1]: Entering directory `/cygdrive/i/opensource/emacs'
(cd man; make -w info)
make[2]: Entering directory `/cygdrive/i/opensource/emacs/man'
make[2]: Nothing to be done for `info'.
make[2]: Leaving directory `/cygdrive/i/opensource/emacs/man'
(cd lispref; make -w info)
make[2]: Entering directory `/cygdrive/i/opensource/emacs/lispref'
make[2]: Nothing to be done for `info'.
make[2]: Leaving directory `/cygdrive/i/opensource/emacs/lispref'
(cd lispintro; make -w info)
make[2]: Entering directory `/cygdrive/i/opensource/emacs/lispintro'
make[2]: Nothing to be done for `info'.
make[2]: Leaving directory `/cygdrive/i/opensource/emacs/lispintro'
(cd lisp; make -w bootstrap-prepare)
make[2]: Entering directory `/cygdrive/i/opensource/emacs/lisp'
if test -x ../src/emacs; then \
make -w autoloads; \
else \
cp /src/opensource/emacs/lisp/ldefs-boot.el
/src/opensource/emacs/lisp/loaddefs.el; \
fi
make[2]: Leaving directory `/cygdrive/i/opensource/emacs/lisp'
(cd src; make -w bootstrap)
make[2]: Entering directory `/cygdrive/i/opensource/emacs/src'
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
/src/opensource/emacs/src/ecrt0.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
dispnew.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
frame.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
scroll.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
xdisp.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
xmenu.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
window.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
charset.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
coding.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
category.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
ccl.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
character.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
chartab.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
cm.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
term.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
xfaces.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
emacs.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
keyboard.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
macros.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
keymap.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
sysdep.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
buffer.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
filelock.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
insdel.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
marker.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
minibuf.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
fileio.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
dired.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
filemode.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
cmds.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
casetab.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
casefiddle.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
indent.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
search.c
search.c: In function `Freplace_match':
search.c:2383: warning: comparison is always true due to limited range of
data type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
regex.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
undo.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
alloc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
data.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
doc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
editfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
callint.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
eval.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
floatfns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
fns.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
print.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
lread.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
abbrev.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
syntax.c
syntax.c: In function `char_quoted':
syntax.c:310: warning: comparison is always true due to limited range of
data type
syntax.c: In function `find_defun_start':
syntax.c:402: warning: comparison is always true due to limited range of
data type
syntax.c:406: warning: comparison is always true due to limited range of
data type
syntax.c: In function `back_comment':
syntax.c:527: warning: comparison is always true due to limited range of
data type
syntax.c:556: warning: comparison is always true due to limited range of
data type
syntax.c: In function `scan_words':
syntax.c:1225: warning: comparison is always true due to limited range of
data type
syntax.c:1253: warning: comparison is always true due to limited range of
data type
syntax.c:1277: warning: comparison is always true due to limited range of
data type
syntax.c:1308: warning: comparison is always true due to limited range of
data type
syntax.c: In function `forw_comment':
syntax.c:2145: warning: comparison is always true due to limited range of
data type
syntax.c:2175: warning: comparison is always true due to limited range of
data type
syntax.c:2194: warning: comparison is always true due to limited range of
data type
syntax.c: In function `Fforward_comment':
syntax.c:2258: warning: comparison is always true due to limited range of
data type
syntax.c:2266: warning: comparison is always true due to limited range of
data type
syntax.c:2324: warning: comparison is always true due to limited range of
data type
syntax.c:2341: warning: comparison is always true due to limited range of
data type
syntax.c:2355: warning: comparison is always true due to limited range of
data type
syntax.c: In function `scan_lists':
syntax.c:2469: warning: comparison is always true due to limited range of
data type
syntax.c:2480: warning: comparison is always true due to limited range of
data type
syntax.c:2490: warning: comparison is always true due to limited range of
data type
syntax.c:2516: warning: comparison is always true due to limited range of
data type
syntax.c:2559: warning: comparison is always true due to limited range of
data type
syntax.c:2586: warning: comparison is always true due to limited range of
data type
syntax.c:2591: warning: comparison is always true due to limited range of
data type
syntax.c:2634: warning: comparison is always true due to limited range of
data type
syntax.c:2652: warning: comparison is always true due to limited range of
data type
syntax.c:2685: warning: comparison is always true due to limited range of
data type
syntax.c:2697: warning: comparison is always true due to limited range of
data type
syntax.c:2712: warning: comparison is always true due to limited range of
data type
syntax.c:2757: warning: comparison is always true due to limited range of
data type
syntax.c:2765: warning: comparison is always true due to limited range of
data type
syntax.c:2773: warning: comparison is always true due to limited range of
data type
syntax.c: In function `Fbackward_prefix_chars':
syntax.c:2876: warning: comparison is always true due to limited range of
data type
syntax.c: In function `scan_sexps_forward':
syntax.c:3038: warning: comparison is always true due to limited range of
data type
syntax.c:3056: warning: comparison is always true due to limited range of
data type
syntax.c:3087: warning: comparison is always true due to limited range of
data type
syntax.c:3098: warning: comparison is always true due to limited range of
data type
syntax.c:3104: warning: comparison is always true due to limited range of
data type
syntax.c:3114: warning: comparison is always true due to limited range of
data type
syntax.c:3138: warning: comparison is always true due to limited range of
data type
syntax.c:3172: warning: comparison is always true due to limited range of
data type
syntax.c:3184: warning: comparison is always true due to limited range of
data type
syntax.c:3201: warning: comparison is always true due to limited range of
data type
syntax.c:3205: warning: comparison is always true due to limited range of
data type
syntax.c:3211: warning: comparison is always true due to limited range of
data type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
unexcw.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
bytecode.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
process.c
process.c: In function `status_message':
process.c:491: warning: assignment discards qualifiers from pointer target
type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
callproc.c
callproc.c: In function `Fcall_process':
callproc.c:899: warning: assignment discards qualifiers from pointer
target type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
region-cache.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
sound.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
atimer.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
doprnt.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
strftime.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
intervals.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
textprop.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
composite.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
md5.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
sheap.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
terminfo.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
gmalloc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
ralloc.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
lastfile.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
vm-limit.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
mktime.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
getloadavg.c
gcc -Demacs -DHAVE_CONFIG_H -I. -I/src/opensource/emacs/src -g -O2
/src/opensource/emacs/src/prefix-args.c -o prefix-args
echo "dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o
coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o
emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o
marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o
editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o
syntax.o unexcw.o bytecode.o process.o callproc.o region-cache.o sound.o
atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
sheap.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o mktime.o
getloadavg.o " > buildobj.lst
gcc -Wl,--image-base,0x20000000 -o temacs ecrt0.o dispnew.o frame.o
scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o
character.o chartab.o cm.o term.o xfaces.o emacs.o keyboard.o macros.o
keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o
dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o
undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o
print.o lread.o abbrev.o syntax.o unexcw.o bytecode.o process.o callproc.o
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o
composite.o md5.o sheap.o terminfo.o gmalloc.o ralloc.o lastfile.o
vm-limit.o mktime.o getloadavg.o -lcurses -lg `gcc
-print-libgcc-file-name` -lm -lc `gcc -print-libgcc-file-name`
Info: resolving __tzname by linking to __imp___tzname (auto-import)
RUNEMACS="`/bin/pwd`/temacs"; cd
/src/opensource/emacs/src/../admin/unidata; make -w RUNEMACS="${RUNEMACS}"
DSTDIR=/src/opensource/emacs/src/../lisp/international
make[3]: Entering directory `/cygdrive/i/opensource/emacs/admin/unidata'
/cygdrive/i/opensource/emacs/src/temacs -batch -f batch-byte-compile
unidata-gen.el
Loading loadup.el (source)...
Using load-path (/src/opensource/emacs/lisp
/src/opensource/emacs/lisp/emacs-lisp /src/opensource/emacs/lisp/language
/src/opensource/emacs/lisp/international
/src/opensource/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading env (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
ELC=`/bin/pwd`/unidata-gen.elc; \
DATA=`/bin/pwd`/unidata.txt; \
cd /src/opensource/emacs/src/../lisp/international; \
/cygdrive/i/opensource/emacs/src/temacs -batch --load ${ELC} -f
unidata-gen-files ${DATA}
Loading loadup.el (source)...
Using load-path (/src/opensource/emacs/lisp
/src/opensource/emacs/lisp/emacs-lisp /src/opensource/emacs/lisp/language
/src/opensource/emacs/lisp/international
/src/opensource/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading env (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
make[3]: Leaving directory `/cygdrive/i/opensource/emacs/admin/unidata'
`/bin/pwd`/temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/src/opensource/emacs/lisp
/src/opensource/emacs/lisp/emacs-lisp /src/opensource/emacs/lisp/language
/src/opensource/emacs/lisp/international
/src/opensource/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading env (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
mv -f emacs.exe bootstrap-emacs.exe
mv: cannot stat `emacs.exe': No such file or directory
make[2]: *** [bootstrap-emacs.exe] Error 1
make[2]: Leaving directory `/cygdrive/i/opensource/emacs/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/cygdrive/i/opensource/emacs'
make: *** [bootstrap] Error 2
[williamx@williamnb emacs]$
---8<-------------------------------------------------------------------->8---
--
Sincerely yours,
William
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 1:27 ` William Xue
@ 2007-03-07 4:24 ` Eli Zaretskii
2007-03-07 8:22 ` William Xue
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-07 4:24 UTC (permalink / raw)
To: William Xue; +Cc: emacs-devel
> Date: Wed, 07 Mar 2007 09:27:04 +0800
> From: "William Xue" <william.xue@gmail.com>
> Cc: emacs-devel@gnu.org
>
> On Wed, 07 Mar 2007 04:40:00 +0800, Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> Date: Tue, 06 Mar 2007 16:01:30 +0800
> >> From: "William Xue" <william.xue@gmail.com>
> >>
> >> I'm attempting to build emacs in cygwin and encountered a problem with :
> >>
> >> mv -f emacs.exe bootstrap-emacs.exe
> >> mv: cannot stat `emacs.exe': No such file or directory
> >
> > Please show the entire transcript of the build, starting with
> > "make bootstrap". The Makefile itself does not have enough
> > information about the possible reason(s) for your problem.
>
> Eli, you mentioned 'transcript', is it the following?
> ---8<-------------------------------------------------------------------->8---
> [williamx@williamnb emacs]$ make bootstrap
Yes, thanks.
> `/bin/pwd`/temacs --batch --load loadup bootstrap
> Loading loadup.el (source)...
> Using load-path (/src/opensource/emacs/lisp
> /src/opensource/emacs/lisp/emacs-lisp /src/opensource/emacs/lisp/language
> /src/opensource/emacs/lisp/international
> /src/opensource/emacs/lisp/textmodes)
> Loading emacs-lisp/byte-run (source)...
> Loading emacs-lisp/backquote (source)...
> Loading subr (source)...
> Loading version.el (source)...
> Loading widget (source)...
> Loading custom (source)...
> Loading emacs-lisp/map-ynp (source)...
> Loading env (source)...
> Loading cus-start (source)...
> Loading international/mule (source)...
> Loading international/mule-conf.el (source)...
> mv -f emacs.exe bootstrap-emacs.exe
> mv: cannot stat `emacs.exe': No such file or directory
This shows the problem very clearly: for some reason, the command that
should have produced emacs.exe didn't run to completion, but rather
finished prematurely (a.k.a. crashed) after loading only a handful of
*.el files, the last one being mule-conf.el.
The Cygwin build of Emacs is currently very troubled. In particular,
only a few versions of GCC are known to produce a working binary.
Please see the entry in etc/PROBLEMS whose header is "Building the
Cygwin port for MS-Windows can fail with some GCC version". Also, you
will find a few discussions in the archives of this list about similar
problems that might help you find a solution.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 4:24 ` Eli Zaretskii
@ 2007-03-07 8:22 ` William Xue
2007-03-08 4:49 ` William Xue
2007-03-12 5:26 ` Harald Maier
0 siblings, 2 replies; 54+ messages in thread
From: William Xue @ 2007-03-07 8:22 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On Wed, 07 Mar 2007 12:24:28 +0800, Eli Zaretskii <eliz@gnu.org> wrote:
>> Eli, you mentioned 'transcript', is it the following?
>> ---8<-------------------------------------------------------------------->8---
>> [williamx@williamnb emacs]$ make bootstrap
>
> Yes, thanks.
>
>> `/bin/pwd`/temacs --batch --load loadup bootstrap
>> Loading loadup.el (source)...
>> Using load-path (/src/opensource/emacs/lisp
>> /src/opensource/emacs/lisp/emacs-lisp
>> /src/opensource/emacs/lisp/language
>> /src/opensource/emacs/lisp/international
>> /src/opensource/emacs/lisp/textmodes)
>> Loading emacs-lisp/byte-run (source)...
>> Loading emacs-lisp/backquote (source)...
>> Loading subr (source)...
>> Loading version.el (source)...
>> Loading widget (source)...
>> Loading custom (source)...
>> Loading emacs-lisp/map-ynp (source)...
>> Loading env (source)...
>> Loading cus-start (source)...
>> Loading international/mule (source)...
>> Loading international/mule-conf.el (source)...
>> mv -f emacs.exe bootstrap-emacs.exe
>> mv: cannot stat `emacs.exe': No such file or directory
>
> This shows the problem very clearly: for some reason, the command that
> should have produced emacs.exe didn't run to completion, but rather
> finished prematurely (a.k.a. crashed) after loading only a handful of
> *.el files, the last one being mule-conf.el.
>
> The Cygwin build of Emacs is currently very troubled. In particular,
> only a few versions of GCC are known to produce a working binary.
> Please see the entry in etc/PROBLEMS whose header is "Building the
> Cygwin port for MS-Windows can fail with some GCC version". Also, you
> will find a few discussions in the archives of this list about similar
> problems that might help you find a solution.
Thank you.
I have checked the file and it seems that I should upgrade the GCC to 4.0
first.
I will try the newest GCC release 4.0.1.2 first.
--
Sincerely yours,
William
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 8:22 ` William Xue
@ 2007-03-08 4:49 ` William Xue
2007-03-09 14:31 ` Eli Zaretskii
2007-03-12 5:26 ` Harald Maier
1 sibling, 1 reply; 54+ messages in thread
From: William Xue @ 2007-03-08 4:49 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On Wed, 07 Mar 2007 16:22:32 +0800, William Xue <william.xue@gmail.com>
wrote:
> On Wed, 07 Mar 2007 12:24:28 +0800, Eli Zaretskii <eliz@gnu.org> wrote:
>
>>
>> This shows the problem very clearly: for some reason, the command that
>> should have produced emacs.exe didn't run to completion, but rather
>> finished prematurely (a.k.a. crashed) after loading only a handful of
>> *.el files, the last one being mule-conf.el.
>>
>> The Cygwin build of Emacs is currently very troubled. In particular,
>> only a few versions of GCC are known to produce a working binary.
>> Please see the entry in etc/PROBLEMS whose header is "Building the
>> Cygwin port for MS-Windows can fail with some GCC version". Also, you
>> will find a few discussions in the archives of this list about similar
>> problems that might help you find a solution.
>
> Thank you.
>
> I have checked the file and it seems that I should upgrade the GCC to
> 4.0 first.
>
> I will try the newest GCC release 4.0.1.2 first.
>
I have successfully updated the GCC to 4.0.1.2, but the problem is the
same.
Maybe I should try a version mentioned in etc/PROBLEMS.
--
Sincerely yours,
William
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 4:49 ` William Xue
@ 2007-03-09 14:31 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 14:31 UTC (permalink / raw)
To: William Xue; +Cc: emacs-devel
> Date: Thu, 08 Mar 2007 12:49:54 +0800
> From: "William Xue" <william.xue@gmail.com>
> Cc: emacs-devel@gnu.org
>
> I have successfully updated the GCC to 4.0.1.2, but the problem is the
> same.
>
> Maybe I should try a version mentioned in etc/PROBLEMS.
Yes, please use _only_ the versions suggested by PROBLEMS. Most other
versions are known to have problems with the Emacs build. (The user
who brought us the information for that PROBLEMS entry tried many
versions of GCC, and the only ones he succeeded with are named in
PROBLEMS.)
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 14:31 ` Eli Zaretskii
@ 2007-03-09 21:26 ` Richard Stallman
2007-03-10 18:56 ` Eli Zaretskii
0 siblings, 1 reply; 54+ messages in thread
From: Richard Stallman @ 2007-03-09 21:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: william.xue, emacs-devel
> Maybe I should try a version mentioned in etc/PROBLEMS.
Yes, please use _only_ the versions suggested by PROBLEMS. Most other
versions are known to have problems with the Emacs build.
Does PROBLEMS say that explicitly? If not, please make it say that.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 21:26 ` Richard Stallman
@ 2007-03-10 18:56 ` Eli Zaretskii
0 siblings, 0 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-10 18:56 UTC (permalink / raw)
To: rms; +Cc: william.xue, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> CC: william.xue@gmail.com, emacs-devel@gnu.org
> Date: Fri, 09 Mar 2007 16:26:18 -0500
>
> > Maybe I should try a version mentioned in etc/PROBLEMS.
>
> Yes, please use _only_ the versions suggested by PROBLEMS. Most other
> versions are known to have problems with the Emacs build.
>
> Does PROBLEMS say that explicitly? If not, please make it say that.
Done.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 8:22 ` William Xue
2007-03-08 4:49 ` William Xue
@ 2007-03-12 5:26 ` Harald Maier
2007-03-12 22:01 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: Harald Maier @ 2007-03-12 5:26 UTC (permalink / raw)
To: William Xue; +Cc: Eli Zaretskii, emacs-devel
"William Xue" <william.xue@gmail.com> writes:
> I have checked the file and it seems that I should upgrade the GCC
> to 4.0 first.
>
> I will try the newest GCC release 4.0.1.2 first.
gcc-4.1.2 produces a stable cygwin emacs-22. I did a build last week
with the pretest version emacs-22.0.95.
Harald
^ permalink raw reply [flat|nested] 54+ messages in thread
[parent not found: <87ejo2nrf6.fsf@offby1.atm01.sea.blarg.net>]
* Re: Help: build emacs in cygwin
[not found] ` <87ejo2nrf6.fsf@offby1.atm01.sea.blarg.net>
@ 2007-03-07 1:23 ` William Xue
2007-03-07 4:19 ` Eli Zaretskii
2007-03-07 17:25 ` Richard Stallman
0 siblings, 2 replies; 54+ messages in thread
From: William Xue @ 2007-03-07 1:23 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: emacs-devel
On Wed, 07 Mar 2007 02:43:57 +0800, Eric Hanchrow <offby1@blarg.net> wrote:
> Are you trying to build a _Cygwin_ Emacs on Cygwin, or are you trying
> to build a _Win32_ Emacs on Cygwin? Those are two different things.
>
I have built a NTEmacs with MinGW32.
And now, I want to build a Cygwin Emacs.
> If the former, you've found a bug, and I expect it'll get fixed
> quickly (at least, if the developers understand it; you might need to
> provide them a transcript of the failed build session).
>
> But if it's the latter, I have one piece of advice: don't use the
> "make" that comes with Cygwin. See
> http://www.emacswiki.org/cgi-bin/wiki/BuildingCvsWThirtyTwoCygwin for
> a brief description of how I did it.
Thank you Eric, I will try the MinGW32-make.exe under Cygwin.
--
Sincerely yours,
William
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 1:23 ` William Xue
@ 2007-03-07 4:19 ` Eli Zaretskii
2007-03-07 16:47 ` Eric Hanchrow
2007-03-08 7:01 ` djh
2007-03-07 17:25 ` Richard Stallman
1 sibling, 2 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-07 4:19 UTC (permalink / raw)
To: William Xue; +Cc: offby1, emacs-devel
> Date: Wed, 07 Mar 2007 09:23:55 +0800
> From: "William Xue" <william.xue@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> > But if it's the latter, I have one piece of advice: don't use the
> > "make" that comes with Cygwin. See
> > http://www.emacswiki.org/cgi-bin/wiki/BuildingCvsWThirtyTwoCygwin for
> > a brief description of how I did it.
>
> Thank you Eric, I will try the MinGW32-make.exe under Cygwin.
I think that's a very bad idea: MinGW and Cygwin are deeply
incompatible. So please do NOT use the MinGW Make to build the Cygwin
port of Emacs.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 4:19 ` Eli Zaretskii
@ 2007-03-07 16:47 ` Eric Hanchrow
2007-03-08 4:13 ` Eli Zaretskii
2007-03-08 7:01 ` djh
1 sibling, 1 reply; 54+ messages in thread
From: Eric Hanchrow @ 2007-03-07 16:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: William Xue, emacs-devel
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> I think that's a very bad idea: MinGW and Cygwin are deeply
Eli> incompatible. So please do NOT use the MinGW Make to build
Eli> the Cygwin port of Emacs.
Uh oh. I suggested that only because nt/INSTALL says
(If you are building from CVS, say "make bootstrap" or "nmake
bootstrap" instead, and avoid using Cygwin make.)
The MinGW "make" is the only Free "make" I know of that works to build
emacs on Cygwin, and it's been working without problem for me for
literally years. What's wrong with it, and what would you recommend
in its place?
--
Asking the Iraqi people to assume Saddam's debts
is rather like telling a man who has been shot in the head
that he has to pay for the bullet.
-- James Surowiecki
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 16:47 ` Eric Hanchrow
@ 2007-03-08 4:13 ` Eli Zaretskii
2007-03-08 6:49 ` Eric Hanchrow
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-08 4:13 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: william.xue, emacs-devel
> Cc: "William Xue" <william.xue@gmail.com>, emacs-devel@gnu.org
> From: Eric Hanchrow <offby1@blarg.net>
> Date: Wed, 07 Mar 2007 08:47:51 -0800
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Eli> I think that's a very bad idea: MinGW and Cygwin are deeply
> Eli> incompatible. So please do NOT use the MinGW Make to build
> Eli> the Cygwin port of Emacs.
>
> Uh oh. I suggested that only because nt/INSTALL says
>
> (If you are building from CVS, say "make bootstrap" or "nmake
> bootstrap" instead, and avoid using Cygwin make.)
nt/INSTALL does not cover the Cygwin build, it only covers the native
Windows builds. For Cygwin, users should read the main INSTALL file,
because Cygwin emulates a Posix platform.
IOW, the above advice in nt/INSTALL advises against using the Cygwin
Make for non-Cygwin builds.
> The MinGW "make" is the only Free "make" I know of that works to build
> emacs on Cygwin, and it's been working without problem for me for
> literally years. What's wrong with it, and what would you recommend
> in its place?
For Cygwin builds, the _only_ Make to use is the Cygwin Make.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 4:13 ` Eli Zaretskii
@ 2007-03-08 6:49 ` Eric Hanchrow
2007-03-09 14:40 ` Eli Zaretskii
0 siblings, 1 reply; 54+ messages in thread
From: Eric Hanchrow @ 2007-03-08 6:49 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: william.xue, emacs-devel
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>> Uh oh. I suggested that only because nt/INSTALL says
>>
>> (If you are building from CVS, say "make bootstrap" or "nmake
>> bootstrap" instead, and avoid using Cygwin make.)
Eli> nt/INSTALL does not cover the Cygwin build, it only covers
Eli> the native Windows builds.
Ah, I think we misunderstood each other, which is actually good: _I_
was referring to building a native Windows version of Emacs, _using_
the Cygwin tools (in particular, Cygwin gcc). I've found that works
fine, as long as I don't use Cygwin's "make".
--
I shrivel inside each time [Star Wars] is mentioned.
-- Sir Alec Guinness
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 6:49 ` Eric Hanchrow
@ 2007-03-09 14:40 ` Eli Zaretskii
0 siblings, 0 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 14:40 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: william.xue, emacs-devel
> Cc: william.xue@gmail.com, emacs-devel@gnu.org
> From: Eric Hanchrow <offby1@blarg.net>
> Date: Wed, 07 Mar 2007 22:49:35 -0800
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> >> Uh oh. I suggested that only because nt/INSTALL says
> >>
> >> (If you are building from CVS, say "make bootstrap" or "nmake
> >> bootstrap" instead, and avoid using Cygwin make.)
>
> Eli> nt/INSTALL does not cover the Cygwin build, it only covers
> Eli> the native Windows builds.
>
> Ah, I think we misunderstood each other, which is actually good: _I_
> was referring to building a native Windows version of Emacs, _using_
> the Cygwin tools (in particular, Cygwin gcc).
But the OP was referring to a Cygwin build, not a native Windows
build.
> I've found that works fine, as long as I don't use Cygwin's "make".
That's true.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 4:19 ` Eli Zaretskii
2007-03-07 16:47 ` Eric Hanchrow
@ 2007-03-08 7:01 ` djh
2007-03-09 15:11 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: djh @ 2007-03-08 7:01 UTC (permalink / raw)
To: emacs-devel; +Cc: offby1
> From: Eli Zaretskii <eliz@gnu.org>
>
> From offby1?: > Thank you Eric, I will try the MinGW32-make.exe under Cygwin.
>
> I think that's a very bad idea: MinGW and Cygwin are deeply
> incompatible. So please do NOT use the MinGW Make to build the Cygwin
> port of Emacs.
I second Eli's comment. I successfully build emacs from cvs source code on
February 21st, using cygwin's native environment. In fact I am using it now to compose this letter.
M-X version <RET>
==> GNU Emacs 22.0.93.1 (i686-pc-cygwin, X toolkit) of 2007-02-21
I haven't tried with cygwins GTK for a long time as it was broken at one point.
I don't know about now.
Please give your (1) configuration options and the Make output that Eli requested.
Tomorrow I plan to try an making an emacs source tarball and see how it goes.
Darel Henman
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 7:01 ` djh
@ 2007-03-09 15:11 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
2007-03-13 0:17 ` djh
0 siblings, 2 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 15:11 UTC (permalink / raw)
To: djh; +Cc: offby1, emacs-devel
> From: "djh" <henman@it.to-be.co.jp>
> Date: Thu, 08 Mar 2007 16:01:19 +0900
> Cc: offby1@blarg.net
>
> I successfully build emacs from cvs source code on February 21st,
> using cygwin's native environment.
Could you please tell what compiler version you used? And what Cygwin
version?
> I haven't tried with cygwins GTK for a long time as it was broken at one point.
> I don't know about now.
The GTK+ build with Cygwin is still broken, unfortunately.
One way of solving that would be to convince the Cygwin developers to
treat memalign specially as they do with malloc. If someone has
influence on how Cygwin is developed, please ask them.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 15:11 ` Eli Zaretskii
@ 2007-03-09 21:26 ` Richard Stallman
2007-03-10 9:38 ` Jan Djärv
2007-03-20 7:36 ` Jan Djärv
2007-03-13 0:17 ` djh
1 sibling, 2 replies; 54+ messages in thread
From: Richard Stallman @ 2007-03-09 21:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: offby1, henman, emacs-devel
The GTK+ build with Cygwin is still broken, unfortunately.
Can we, should we, implement something that gives a simple error message
when you try to build this way? Or when you try to configure this way?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 21:26 ` Richard Stallman
@ 2007-03-10 9:38 ` Jan Djärv
2007-03-10 19:04 ` Eli Zaretskii
2007-03-11 4:23 ` Richard Stallman
2007-03-20 7:36 ` Jan Djärv
1 sibling, 2 replies; 54+ messages in thread
From: Jan Djärv @ 2007-03-10 9:38 UTC (permalink / raw)
To: rms; +Cc: offby1, Eli Zaretskii, henman, emacs-devel
Richard Stallman skrev:
> The GTK+ build with Cygwin is still broken, unfortunately.
>
> Can we, should we, implement something that gives a simple error message
> when you try to build this way? Or when you try to configure this way?
>
We can. But a later cygwin may fix the problem, so it seems that a warning
would be more appropriate.
Jan D.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-10 9:38 ` Jan Djärv
@ 2007-03-10 19:04 ` Eli Zaretskii
2007-03-11 4:23 ` Richard Stallman
1 sibling, 0 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-10 19:04 UTC (permalink / raw)
To: Jan Djärv; +Cc: offby1, rms, henman, emacs-devel
> Date: Sat, 10 Mar 2007 10:38:25 +0100
> From: =?ISO-8859-15?Q?Jan_Dj=E4rv?= <jan.h.d@swipnet.se>
> Cc: offby1@blarg.net, Eli Zaretskii <eliz@gnu.org>, henman@it.to-be.co.jp,
> emacs-devel@gnu.org
>
> > Can we, should we, implement something that gives a simple error message
> > when you try to build this way? Or when you try to configure this way?
>
> We can. But a later cygwin may fix the problem, so it seems that a warning
> would be more appropriate.
I agree. Since either the build or the produced binary eventually
fails, that manifestation provides all the error message one could
need.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-10 9:38 ` Jan Djärv
2007-03-10 19:04 ` Eli Zaretskii
@ 2007-03-11 4:23 ` Richard Stallman
1 sibling, 0 replies; 54+ messages in thread
From: Richard Stallman @ 2007-03-11 4:23 UTC (permalink / raw)
To: Jan Djärv; +Cc: offby1, eliz, henman, emacs-devel
We can. But a later cygwin may fix the problem, so it seems that a warning
would be more appropriate.
We could assume that a later Cygwin will probably fix it
and give the error message only for the current version of Cygwin.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 21:26 ` Richard Stallman
2007-03-10 9:38 ` Jan Djärv
@ 2007-03-20 7:36 ` Jan Djärv
2007-03-21 0:42 ` Richard Stallman
1 sibling, 1 reply; 54+ messages in thread
From: Jan Djärv @ 2007-03-20 7:36 UTC (permalink / raw)
To: rms; +Cc: offby1, Eli Zaretskii, henman, emacs-devel
Richard Stallman skrev:
> The GTK+ build with Cygwin is still broken, unfortunately.
>
> Can we, should we, implement something that gives a simple error message
> when you try to build this way? Or when you try to configure this way?
>
>
I've added a warning to configure.
Jan D.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 15:11 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
@ 2007-03-13 0:17 ` djh
2007-03-13 4:22 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: djh @ 2007-03-13 0:17 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: offby1, emacs-devel
> > I successfully build emacs from cvs source code on February 21st,
> > using cygwin's native environment.
>
> Could you please tell what compiler version you used? And what Cygwin
> version?
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
cygwin version : CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57
GNU ld version 2.17.50 20060817
# configure invocation line:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --exec-prefix= --with-x --with-xaw3d --with-jpeg --with-png --with-gif --without-toolkit-scroll-bars --with-xpm --with-tiff --x-includes=/usr/X11R6/include/X11 --x-libraries=/
usr/X11R6/lib
>
> > I haven't tried with cygwins GTK for a long time as it was broken at one point.
> > I don't know about now.
>
> The GTK+ build with Cygwin is still broken, unfortunately.
>
> One way of solving that would be to convince the Cygwin developers to
> treat memalign specially as they do with malloc. If someone has
> influence on how Cygwin is developed, please ask them.
I'll bring it up. Thanks.
Darel Henman
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-13 0:17 ` djh
@ 2007-03-13 4:22 ` Eli Zaretskii
[not found] ` <20070313145148.3496@henman-np.b-eng.it.to-be.co.jp>
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-13 4:22 UTC (permalink / raw)
To: djh; +Cc: offby1, emacs-devel
> Cc: <emacs-devel@gnu.org>, <offby1@blarg.net>
> From: "djh" <henman@it.to-be.co.jp>
> Date: Tue, 13 Mar 2007 09:17:42 +0900
>
> > > I successfully build emacs from cvs source code on February 21st,
> > > using cygwin's native environment.
> >
> > Could you please tell what compiler version you used? And what Cygwin
> > version?
>
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Strange, that's the version that caused lots of trouble to Angelo
Graziosi. Also, he reported problems with debug info generated by
3.4.4-2 (can you debug your binary?).
> cygwin version : CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57
Is this the latest version of Cygwin?
> > The GTK+ build with Cygwin is still broken, unfortunately.
> >
> > One way of solving that would be to convince the Cygwin developers to
> > treat memalign specially as they do with malloc. If someone has
> > influence on how Cygwin is developed, please ask them.
>
> I'll bring it up. Thanks.
Thanks.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 1:23 ` William Xue
2007-03-07 4:19 ` Eli Zaretskii
@ 2007-03-07 17:25 ` Richard Stallman
2007-03-08 4:14 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: Richard Stallman @ 2007-03-07 17:25 UTC (permalink / raw)
To: William Xue; +Cc: offby1, emacs-devel
If there are problems building Emacs on Cygwin, which we
are not going to fix, are they documented in PROBLEMS?
Are the installation instructions for the Cygwin platform correct?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-07 17:25 ` Richard Stallman
@ 2007-03-08 4:14 ` Eli Zaretskii
2007-03-08 21:47 ` Richard Stallman
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-08 4:14 UTC (permalink / raw)
To: rms; +Cc: offby1, william.xue, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> Date: Wed, 07 Mar 2007 12:25:44 -0500
> Cc: offby1@blarg.net, emacs-devel@gnu.org
>
> If there are problems building Emacs on Cygwin, which we
> are not going to fix, are they documented in PROBLEMS?
Yes.
> Are the installation instructions for the Cygwin platform correct?
Cygwin uses the build procedure documented in the main INSTALL file,
which is correct as far as we know.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 4:14 ` Eli Zaretskii
@ 2007-03-08 21:47 ` Richard Stallman
2007-03-09 14:36 ` Eli Zaretskii
2007-03-09 15:34 ` Eli Zaretskii
0 siblings, 2 replies; 54+ messages in thread
From: Richard Stallman @ 2007-03-08 21:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: offby1, william.xue, emacs-devel
> Are the installation instructions for the Cygwin platform correct?
Cygwin uses the build procedure documented in the main INSTALL file,
which is correct as far as we know.
nt/INSTALL does not say that. Shouldn't it?
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 21:47 ` Richard Stallman
@ 2007-03-09 14:36 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
2007-03-09 15:34 ` Eli Zaretskii
1 sibling, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 14:36 UTC (permalink / raw)
To: rms; +Cc: offby1, william.xue, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> CC: william.xue@gmail.com, offby1@blarg.net, emacs-devel@gnu.org
> Date: Thu, 08 Mar 2007 16:47:19 -0500
>
> > Are the installation instructions for the Cygwin platform correct?
>
> Cygwin uses the build procedure documented in the main INSTALL file,
> which is correct as far as we know.
>
> nt/INSTALL does not say that.
Yes, it does: it talks about a "native Windows build", which is the
opposite of Cygwin.
Anyway, Cygwin users are used to run the usual "./configure; make"
commands one uses on GNU/Linux to build packages.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 14:36 ` Eli Zaretskii
@ 2007-03-09 21:26 ` Richard Stallman
2007-03-10 18:52 ` Eli Zaretskii
0 siblings, 1 reply; 54+ messages in thread
From: Richard Stallman @ 2007-03-09 21:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: offby1, william.xue, emacs-devel
> Cygwin uses the build procedure documented in the main INSTALL file,
> which is correct as far as we know.
>
> nt/INSTALL does not say that.
Yes, it does: it talks about a "native Windows build", which is the
opposite of Cygwin.
That is an indirect way of saying it. Perhaps some people won't
understand. The more explicit the message, the less people will
misunderstand.
Anyway, Cygwin users are used to run the usual "./configure; make"
commands one uses on GNU/Linux to build packages.
That may be true for Cygwin users with experience.
But not for new ones.
> nt/INSTALL does not say that. Shouldn't it?
I added something to say this even more clearly than we did before.
Your change made it a little clearer, but didn't say anything about
Cygwin. I added an explicit statement about Cygwin.
When something is really important to communicate, it's a mistake to
ask whether it "should be clear the way it is". The question to ask is,
"Can we do anything to make sure people get the message?"
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-09 21:26 ` Richard Stallman
@ 2007-03-10 18:52 ` Eli Zaretskii
2007-03-11 20:00 ` Richard Stallman
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-10 18:52 UTC (permalink / raw)
To: rms; +Cc: emacs-devel
> From: Richard Stallman <rms@gnu.org>
> CC: william.xue@gmail.com, offby1@blarg.net, emacs-devel@gnu.org
> Date: Fri, 09 Mar 2007 16:26:19 -0500
>
> Anyway, Cygwin users are used to run the usual "./configure; make"
> commands one uses on GNU/Linux to build packages.
>
> That may be true for Cygwin users with experience.
> But not for new ones.
By this very logic, we also need to address this problem in the msdos/
and mac/ directories, because perhaps inexperienced Cygwin users will
look there.
In general, inexperienced users simply download a precompiled binary
distribution. Those who build their own have enough experience to
know where to look. The age of Unix users who built all their
packages from sources is long gone; nowadays, I sometimes need to look
for hours for a plain .tar.gz source archive, wading through myriads
of binary RPMs and DSCs as I go, even for GNU/Linux.
> I added something to say this even more clearly than we did before.
>
> Your change made it a little clearer, but didn't say anything about
> Cygwin.
??? Here's my change (including a typo, later fixed by Juanma):
+ If you want to build a Cygwin port of Emacs, use the instructions in
+ the INSTALL file in the main Emacs directory (the poarent of this
+ directory). These instructions are for building a native Windows
+ binary of Emacs.
How's this ``not saying anything about Cygwin''?
> When something is really important to communicate, it's a mistake to
> ask whether it "should be clear the way it is". The question to ask is,
> "Can we do anything to make sure people get the message?"
I hardly need this lecture; see my change above.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-10 18:52 ` Eli Zaretskii
@ 2007-03-11 20:00 ` Richard Stallman
0 siblings, 0 replies; 54+ messages in thread
From: Richard Stallman @ 2007-03-11 20:00 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
+ If you want to build a Cygwin port of Emacs, use the instructions in
+ the INSTALL file in the main Emacs directory (the poarent of this
+ directory). These instructions are for building a native Windows
+ binary of Emacs.
How's this ``not saying anything about Cygwin''?
I didn't see that earlier when I looked, so I added a statement
which is fairly similar.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: Help: build emacs in cygwin
2007-03-08 21:47 ` Richard Stallman
2007-03-09 14:36 ` Eli Zaretskii
@ 2007-03-09 15:34 ` Eli Zaretskii
1 sibling, 0 replies; 54+ messages in thread
From: Eli Zaretskii @ 2007-03-09 15:34 UTC (permalink / raw)
To: rms; +Cc: offby1, william.xue, emacs-devel
> From: Richard Stallman <rms@gnu.org>
> CC: william.xue@gmail.com, offby1@blarg.net, emacs-devel@gnu.org
> Date: Thu, 08 Mar 2007 16:47:19 -0500
>
> > Are the installation instructions for the Cygwin platform correct?
>
> Cygwin uses the build procedure documented in the main INSTALL file,
> which is correct as far as we know.
>
> nt/INSTALL does not say that. Shouldn't it?
I added something to say this even more clearly than we did before.
^ permalink raw reply [flat|nested] 54+ messages in thread
* Re: cygwin succesfull straight build
@ 2007-02-23 18:15 Eli Zaretskii
2007-03-07 13:37 ` Help: build emacs in cygwin Angelo Graziosi
0 siblings, 1 reply; 54+ messages in thread
From: Eli Zaretskii @ 2007-02-23 18:15 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
> Date: Fri, 23 Feb 2007 14:07:19 +0100 (MET)
> From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
> cc: emacs-devel@gnu.org
>
> Eli Zaretskii wrote:
>
> > It is important for us to know whether the distribution tarball builds
> > (./configure; make; make install) cleanly on all supported platforms.
>
>
> If the pretest is
> ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-22.0.93.tar.gz (timestamp
> 01/23/2007 01:16, size 37,118,034), I have built it on Cygwin, since it
> was released, without problems (using GCC-4.0.3 for stability reasons).
Thanks. But I'd like to hear from other Cygwin users as well, if
there are any.
^ permalink raw reply [flat|nested] 54+ messages in thread
end of thread, other threads:[~2007-05-14 21:13 UTC | newest]
Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 11:27 Help: build emacs in cygwin (fwd) Angelo Graziosi
2007-03-09 15:24 ` Eli Zaretskii
2007-03-13 13:10 ` Help: build emacs in cygwin Angelo Graziosi
2007-03-13 18:23 ` Harald Maier
2007-03-14 0:52 ` Angelo Graziosi
2007-03-14 1:31 ` djh
2007-03-14 7:41 ` Jason Rumney
2007-03-22 21:41 ` emacs snapshot tarball test build Angelo Graziosi
2007-03-23 1:34 ` djh
2007-03-23 9:09 ` Angelo Graziosi
2007-03-23 14:04 ` Eli Zaretskii
2007-04-04 11:32 ` Pretest 22.0.97 Angelo Graziosi
2007-04-13 11:47 ` Build failure on Cygwin Angelo Graziosi
2007-05-14 20:56 ` merging Unicode branch and availability of Windows binaries Angelo Graziosi
2007-05-14 21:13 ` Drew Adams
2007-03-23 4:37 ` emacs snapshot tarball test build Richard Stallman
2007-03-23 13:58 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2007-03-06 8:01 Help: build emacs in cygwin William Xue
2007-03-06 20:40 ` Eli Zaretskii
2007-03-07 1:27 ` William Xue
2007-03-07 4:24 ` Eli Zaretskii
2007-03-07 8:22 ` William Xue
2007-03-08 4:49 ` William Xue
2007-03-09 14:31 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
2007-03-10 18:56 ` Eli Zaretskii
2007-03-12 5:26 ` Harald Maier
2007-03-12 22:01 ` Eli Zaretskii
[not found] ` <87ejo2nrf6.fsf@offby1.atm01.sea.blarg.net>
2007-03-07 1:23 ` William Xue
2007-03-07 4:19 ` Eli Zaretskii
2007-03-07 16:47 ` Eric Hanchrow
2007-03-08 4:13 ` Eli Zaretskii
2007-03-08 6:49 ` Eric Hanchrow
2007-03-09 14:40 ` Eli Zaretskii
2007-03-08 7:01 ` djh
2007-03-09 15:11 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
2007-03-10 9:38 ` Jan Djärv
2007-03-10 19:04 ` Eli Zaretskii
2007-03-11 4:23 ` Richard Stallman
2007-03-20 7:36 ` Jan Djärv
2007-03-21 0:42 ` Richard Stallman
2007-03-13 0:17 ` djh
2007-03-13 4:22 ` Eli Zaretskii
[not found] ` <20070313145148.3496@henman-np.b-eng.it.to-be.co.jp>
2007-03-13 20:56 ` Eli Zaretskii
2007-03-07 17:25 ` Richard Stallman
2007-03-08 4:14 ` Eli Zaretskii
2007-03-08 21:47 ` Richard Stallman
2007-03-09 14:36 ` Eli Zaretskii
2007-03-09 21:26 ` Richard Stallman
2007-03-10 18:52 ` Eli Zaretskii
2007-03-11 20:00 ` Richard Stallman
2007-03-09 15:34 ` Eli Zaretskii
2007-02-23 18:15 cygwin succesfull straight build Eli Zaretskii
2007-03-07 13:37 ` Help: build emacs in cygwin Angelo Graziosi
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.