all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* minor windoze build bug
@ 2005-11-17 17:22 Martins Krikis
  2005-11-17 19:37 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Martins Krikis @ 2005-11-17 17:22 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Dear GNU,

Happened to stumble on this one; reporting to leave a record of how
one can get around it:

Was doing a windoze build of 21.4a, using nmake, VC and a bit of
cygwin. MS build tools were on C-drive but Emacs sources (and Cygwin,
if it matters) on D-drive. temacs.exe got built OK, but couldn't open
"the doc string file":

Finding pointers to doc strings...
Opening doc string file: no such file or directory, ../etc/DOC-X
NMAKE : fatal error U1077:
'"D:\Martins\emacs-21.4.old\src/obj-spd/i386/temacs.exe"' : return
code '0xffffffff'
Stop.

Quick fix for this problem: move Emacs sources somewhere on C-drive, build
there. Afterwards everything can be moved back to D-drive and the install
step can be done from there.

Thanks,

  Martins Krikis

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: minor windoze build bug
  2005-11-17 17:22 minor windoze build bug Martins Krikis
@ 2005-11-17 19:37 ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2005-11-17 19:37 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> Date: Thu, 17 Nov 2005 19:22:31 +0200
> From: Martins Krikis <mkrikis@yahoo.com>
> 
> Was doing a windoze build of 21.4a, using nmake, VC and a bit of
> cygwin. MS build tools were on C-drive but Emacs sources (and Cygwin,
> if it matters) on D-drive. temacs.exe got built OK, but couldn't open
> "the doc string file":
> 
> Finding pointers to doc strings...
> Opening doc string file: no such file or directory, ../etc/DOC-X
> NMAKE : fatal error U1077:
> '"D:\Martins\emacs-21.4.old\src/obj-spd/i386/temacs.exe"' : return
> code '0xffffffff'
> Stop.

Thank you for your report.

> Quick fix for this problem: move Emacs sources somewhere on C-drive, build
> there. Afterwards everything can be moved back to D-drive and the install
> step can be done from there.

Others succeeded building Emacs with MSVC without moving the tree.  I
suspect that your problem happens because of some bad interaction
between NMAKE and that ``bit of Cygwin''.  I suggest to make sure you
use combinations of tools which are described in nt/INSTALL as
successful.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: minor windoze build bug
       [not found] <20051119085452.50940.qmail@web35615.mail.mud.yahoo.com>
@ 2005-11-19  9:25 ` Eli Zaretskii
  2005-11-21 12:25   ` Martins Krikis
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2005-11-19  9:25 UTC (permalink / raw)
  Cc: bug-gnu-emacs

[Please keep bug-gnu-emacs@gnu.org on the CC list.]

> Date: Sat, 19 Nov 2005 00:54:52 -0800 (PST)
> From: Martins Krikis <mkrikis@yahoo.com>
> Cc: mkrikis@yahoo.com
> 
> 
> > Others succeeded building Emacs with MSVC without moving the tree.  I
> > suspect that your problem happens because of some bad interaction
> > between NMAKE and that ``bit of Cygwin''.  I suggest to make sure you
> > use combinations of tools which are described in nt/INSTALL as
> > successful.
> 
> I tried, but didn't get very far. nmake was complaining about
> lack of "sh.exe", "cp", etc., don't remember anymore.

May I suggest that you post here a complete transcript of your build
attempts?  As nt/INSTALL tells you, cp.exe, rm.exe, and mv.exe are
required for the build, but sh.exe is not.  nt/configure.bat will tell
you what is needed and what is merely checked and marked as
nonexistent.

> Perhaps I'm too clueless about Windoze tools but I certainly
> couldn't build it without adding cygwin paths to the Windoze
> build-window.

There are non-Cygwin ports of cp, rm, and mv.  One place to look is on
the GnuWin32 site.

> Ideally, though, I'd love to be able to build it using pure Cygwin
> tools and don't see much need for mingw (other than what's in Cygwin
> anyway?).

If you want a Cygwin build of Emacs, you will have to use the CVS
sources.  Only the current development version supports a Cygwin
build out of the box.

Alternatively, I'm told that there's a prebuilt binary in the Cygwin
archives, which you could use.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: minor windoze build bug
  2005-11-19  9:25 ` Eli Zaretskii
@ 2005-11-21 12:25   ` Martins Krikis
  0 siblings, 0 replies; 4+ messages in thread
From: Martins Krikis @ 2005-11-21 12:25 UTC (permalink / raw)
  Cc: bug-gnu-emacs

--- Eli Zaretskii <eliz@gnu.org> wrote:

> [Please keep bug-gnu-emacs@gnu.org on the CC list.]
> 
> > Date: Sat, 19 Nov 2005 00:54:52 -0800 (PST)
> > From: Martins Krikis <mkrikis@yahoo.com>
> > Cc: mkrikis@yahoo.com
> > 
> > 
> > > Others succeeded building Emacs with MSVC without moving the
tree.

Weird, but so did I today. I can no longer repeat the
conditions that caused me to enter this "minor build bug".
Sorry for all the noise.

> > > I suspect that your problem happens because of some bad
interaction
> > > between NMAKE and that ``bit of Cygwin''.  I suggest to make sure
you
> > > use combinations of tools which are described in nt/INSTALL as
> > > successful.
 
> > I tried, but didn't get very far. nmake was complaining about
> > lack of "sh.exe", "cp", etc., don't remember anymore.
> 
> May I suggest that you post here a complete transcript of your build
> attempts?

OK, here is a build attempt with very recent Cygwin tools
(make 3.80, gcc 3.4.4, bash 3.00.16(11),etc.:


----------------------------------------
 
$ ./configure.bat
Checking for 'cp'...
Checking for 'rm'...
Checking whether 'cl' is available...
'cl' is not recognized as an internal or external command,
operable program or batch file.
Checking whether 'gcc' is available...
Checking whether gcc requires '-mno-cygwin'...
junk.c:1:29: cygwin/version.h: No such file or directory
Checking whether W32 API headers are too old...

d:\Martins\emacs-21.4\nt>gcc  -mno-cygwin -c junk.c

d:\Martins\emacs-21.4\nt>echo off
Using 'gcc'
Generating makefiles
        1 file(s) copied.
        1 file(s) copied.
config.settings
gmake.defs
..\nt\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lib-src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lisp\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\leim\makefile.w32-in
        1 file(s) copied.

Emacs successfully configured.
Run `gmake' to build, then run `gmake install' to install.




$ gmake
bash: gmake: command not found


$ make
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
Using /bin/sh.exe as shell.
gcc -o oo-spd/i386/addpm.exe \
           -g -mno-cygwin  oo-spd/i386/addpm.o   -ladvapi32 -luser32
gcc -o oo-spd/i386/ddeclient.exe \
           -g -mno-cygwin  oo-spd/i386/ddeclient.o   -ladvapi32
-luser32
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl    -o oo-spd/i386/runemacs.o
runemacs.c

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -o oo-spd/i386/runemacs.exe -Wl,-subsystem,windows \
           -g -mno-cygwin  oo-spd/i386/runemacs.o oo-spd/i386/emacs.res
  -ladva
pi32 -luser32
gcc -o oo-spd/i386/cmdproxy.exe \
           -g -mno-cygwin  oo-spd/i386/cmdproxy.o   -luser32
gcc -o oo-spd/i386/addsection.exe \
           -g -mno-cygwin  oo-spd/i386/addsection.o   -luser32
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl    -o oo-spd/i386/preprep.o
preprep.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -o oo-spd/i386/preprep.exe \
           -g -mno-cygwin  oo-spd/i386/preprep.o
make - --unix -C ../lib-src all
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/cygdrive/d/Martins/emacs-21.4/lib-src'
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o
oo-spd/i3
86/make-docfile.o make-docfile.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o
oo-spd/i3
86/ntlib.o ntlib.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from ntlib.c:30:
ntlib.h:93:1: warning: "fileno" redefined
In file included from ntlib.c:26:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/stdio.h:3
95:1: warning: this is the location of the previous definition
gcc -o oo-spd/i386/make-docfile.exe  -g -mno-cygwin 
oo-spd/i386/make-docfile.o
oo-spd/i386/ntlib.o   -ladvapi32
gcc -o oo-spd/i386/hexl.exe  -g -mno-cygwin  oo-spd/i386/hexl.o  
-ladvapi32
rm ctags.c
cp -f etags.c ctags.c
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
-DCTAGS -DHA
VE_GETCWD -o oo-spd/i386/ctags.o ctags.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o
oo-spd/i3
86/getopt.o getopt.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o
oo-spd/i3
86/getopt1.o getopt1.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc  -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
 -mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=
1 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
-DCONFIG_BR
OKETS -DINHIBIT_STRING_HEADER \
        ../src/regex.c -o oo-spd/i386/regex.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -o oo-spd/i386/ctags.exe  -g -mno-cygwin  oo-spd/i386/ctags.o
oo-spd/i386/ge
topt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o oo-spd/i386/regex.o  
-ladvapi3
2
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
-DHAVE_GETCW
D -o oo-spd/i386/etags.o etags.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -o oo-spd/i386/etags.exe  -g -mno-cygwin  oo-spd/i386/etags.o
oo-spd/i386/ge
topt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o oo-spd/i386/regex.o  
-ladvapi3
2
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
-DUSG -o oo-
spd/i386/movemail.o movemail.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from movemail.c:89:
ntlib.h:93:1: warning: "fileno" redefined
In file included from ../src/s/ms-w32.h:394,
                 from ../src/config.h:281,
                 from movemail.c:58:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/stdio.h:3
95:1: warning: this is the location of the previous definition
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -DWINDOWSNT -DDOS_NT
-DSTDC_HEADERS=1
 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o
oo-spd/i3
86/pop.o pop.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from pop.c:33:
ntlib.h:93:1: warning: "fileno" redefined
In file included from ./../src/s/ms-w32.h:394,
                 from ./../src/config.h:281,
                 from pop.c:24:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/stdio.h:3
95:1: warning: this is the location of the previous definition
gcc -o oo-spd/i386/movemail.exe  -g -mno-cygwin  oo-spd/i386/movemail.o
oo-spd/i
386/pop.o oo-spd/i386/ntlib.o oo-spd/i386/getopt.o
oo-spd/i386/getopt1.o -lwsock
32   -ladvapi32
gcc -o oo-spd/i386/ebrowse.exe  -g -mno-cygwin  oo-spd/i386/ebrowse.o
oo-spd/i38
6/getopt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o   -ladvapi32
rm DOC
"./oo-spd/i386/make-docfile" -o DOC  -d ../src abbrev.c alloc.c
alloca.c buffer.
c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c charset.c
coding.c ca
tegory.c ccl.c data.c dired.c dispnew.c doc.c  doprnt.c editfns.c
emacs.c eval.c
 fileio.c filelock.c filemode.c fns.c fontset.c indent.c insdel.c
keyboard.c key
map.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c
mocklisp.c print.c
 process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c
tparam.c
 undo.c unexw32.c window.c xdisp.c casetab.c floatfns.c frame.c
gmalloc.c interv
als.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c w32.c
w32console.
c xfaces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c
w32select.
c w32term.c w32xfns.c
"./oo-spd/i386/make-docfile" -a DOC  -d ../src ../lisp/abbrev.elc
../lisp/buff-m
enu.elc ../lisp/byte-run.elc ../lisp/cus-start.el ../lisp/custom.elc
../lisp/dis
p-table.elc ../lisp/faces.elc ../lisp/files.elc
../lisp/textmodes/fill.elc ../li
sp/format.elc ../lisp/facemenu.elc ../lisp/select.elc
../lisp/scroll-bar.elc ../
lisp/mouse.elc ../lisp/float-sup.elc ../lisp/frame.elc 
../lisp/help.elc ../lisp
/indent.elc ../lisp/isearch.elc ../lisp/emacs-lisp/lisp-mode.elc
../lisp/emacs-l
isp/lisp.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.el
../lisp/m
ap-ynp.elc ../lisp/menu-bar.elc ../lisp/international/mule.elc
../lisp/internati
onal/mule-conf.el ../lisp/international/mule-cmds.elc
../lisp/international/char
acters.elc ../lisp/international/ccl.elc
../lisp/international/codepage.elc ../l
isp/international/utf-8.elc ../lisp/case-table.elc
../lisp/language/chinese.elc
../lisp/language/cyrillic.elc ../lisp/language/devanagari.elc
../lisp/language/e
nglish.elc ../lisp/language/ethiopic.elc ../lisp/language/european.elc
../lisp/l
anguage/czech.elc ../lisp/language/slovak.elc
../lisp/language/romanian.elc ../l
isp/language/greek.elc ../lisp/language/hebrew.elc
../lisp/language/indian.elc .
./lisp/language/japanese.elc ../lisp/language/korean.elc
../lisp/language/lao.el
c ../lisp/language/thai.elc ../lisp/language/tibetan.elc
../lisp/language/vietna
mese.elc ../lisp/language/misc-lang.elc ../lisp/textmodes/page.elc
../lisp/textm
odes/paragraphs.elc ../lisp/paths.el ../lisp/register.elc
../lisp/replace.elc ..
/lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc
../lisp/term/tty-colors.el
c ../lisp/textmodes/text-mode.elc ../lisp/vc-hooks.elc
../lisp/ediff-hook.elc
../lisp/ls-lisp.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc
../lisp/widget.elc .
./lisp/window.elc ../lisp/version.el
cp -f DOC  ../etc/DOC-X
mkdir "../src/oo-spd"
mkdir: cannot create directory `../src/oo-spd': File exists
make[1]: [DOC] Error 1 (ignored)
mkdir "../src/oo-spd/etc"
mkdir: cannot create directory `../src/oo-spd/etc': File exists
make[1]: [DOC] Error 1 (ignored)
cp -f DOC  ../src/oo-spd/etc/DOC-X
make[1]: Leaving directory `/cygdrive/d/Martins/emacs-21.4/lib-src'
make - --unix -C ../src all
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/cygdrive/d/Martins/emacs-21.4/src'
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/e
macs.o emacs.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
rm oo-spd/i386/temacs0.a
ar -rsc oo-spd/i386/temacs0.a oo-spd/i386/emacs.o
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/a
bbrev.o abbrev.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
abbrev.c: In function `Fexpand_abbrev':
abbrev.c:370: warning: comparison is always true due to limited range
of data ty
pe
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/a
lloc.o alloc.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/a
lloca.o alloca.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/a
timer.o atimer.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/b
uffer.o buffer.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
buffer.c: In function `Fset_buffer_multibyte':
buffer.c:2089: warning: comparison is always true due to limited range
of data t
ype
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/b
ytecode.o bytecode.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/c
allint.o callint.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g
-mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl   -Demacs=1 -DWINDOWSNT
-DDOS_NT -DHAVE
_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o
oo-spd/i386/c
allproc.o callproc.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
callproc.c: In function `Fcall_process_region':
callproc.c:1021: warning: assignment makes pointer from integer without
a cast
callproc.c:1022: warning: assignment makes pointer from integer without
a cast
callproc.c:1023: warning: assignment makes pointer from integer without
a cast
callproc.c: At top level:
callproc.c:1441: error: conflicting types for 'egetenv'
callproc.c:1021: error: previous implicit declaration of 'egetenv' was
here
make[1]: *** [oo-spd/i386/callproc.o] Error 1
make[1]: Leaving directory `/cygdrive/d/Martins/emacs-21.4/src'
make: *** [all-other-dirs-gmake] Error 2


------------------------------------------

Knowing that I've never built an Emacs (usable in a 
standalone manner) with Cygwin tools, I switch to a pure
Windoze build (Windoze shell, nmake, VC7 or something...):


-------------------------------------------

D:\Martins\emacs-21.4\nt>configure.bat
Checking for 'cp'...
'cp' is not recognized as an internal or external command,
operable program or batch file.
You need 'cp' (the Unix file copy program) to build Emacs.



-------------------------------------------------

OK, so I need "cp". Having Cygwin installed, of course
I add a path to Cygwin's cp. And today it then builds
fine. Previously it didn't. Sorry, can't repeat it anymore.




> As nt/INSTALL tells you, cp.exe, rm.exe, and mv.exe are
> required for the build,

Actually, it doesn't seem to mention them, but that's
irrelevant now.

> but sh.exe is not.  nt/configure.bat will
> tell
> you what is needed and what is merely checked and marked as
> nonexistent.
> 
> > Perhaps I'm too clueless about Windoze tools but I certainly
> > couldn't build it without adding cygwin paths to the Windoze
> > build-window.
> 
> There are non-Cygwin ports of cp, rm, and mv.  One place to look is
> on the GnuWin32 site.

I know there are, but I'm quite happy with Cygwin's.

> > Ideally, though, I'd love to be able to build it using pure Cygwin
> > tools and don't see much need for mingw (other than what's in
> Cygwin
> > anyway?).
> 
> If you want a Cygwin build of Emacs, you will have to use the CVS
> sources.  Only the current development version supports a Cygwin
> build out of the box.

Well, I'm all set for now, but I may try it next time, if
there ever is a next time for a Windoze Emacs for me.

 
> Alternatively, I'm told that there's a prebuilt binary in the Cygwin
> archives, which you could use.

That one is OK if I also use X, not too comfortable in a shell,
and generally a standalone Emacs for Windoze feels better.

Well, thanks for all your help. Sorry I can't now reproduce
the problem anymore. I even tried mixed builds thinking
that maybe some lack of "make clean" caused this situation
to become possible. But I can't repeat it at all, while
previously I couldn't get out of it (w/o moving the tree).

  Martins Krikis



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-21 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17 17:22 minor windoze build bug Martins Krikis
2005-11-17 19:37 ` Eli Zaretskii
     [not found] <20051119085452.50940.qmail@web35615.mail.mud.yahoo.com>
2005-11-19  9:25 ` Eli Zaretskii
2005-11-21 12:25   ` Martins Krikis

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.