emacs-devel
[Top][All Lists]
Advanced

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

Re: Some change in the past 24 hours broke building on Windows


From: Eric Lilja
Subject: Re: Some change in the past 24 hours broke building on Windows
Date: Wed, 07 Feb 2007 22:01:11 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Eric Lilja skrev:
Eli Zaretskii skrev:
Date: Mon, 05 Feb 2007 06:26:34 +0200
From: Eli Zaretskii <address@hidden>
Cc: address@hidden

From: Eric Lilja <address@hidden>
Date: Mon, 05 Feb 2007 00:30:20 +0100

I just did another completely fresh checkout and ran the same script with the notable difference of removing --jobs=2 and XMFLAGS="--jobs=2" and I was now able to complete the build process.
That figures: the problem was caused by a random timing variation,
since the bug was always there, AFAICS.

About a month ago, a lot of work was put in by Eli Zaretskii to make emacs build on windows with those parameters passed to make and some change just after the third of february broke it, it seems.
No, it's not some recent change.  I see the bug in
src/makefile.w32-in, it only rears its ugly head with --jobs, and is
not new.  I will fix that later today.

Should be fixed now.  Sorry for the delay.

Indeed it seems to be fixed, thanks! Unfortunately, a new bug has surfaced, something to do with windres, because compilation ends with the following error:
Usage: windres [option(s)] [input-file] [output-file]
 The options are:
  -i --input=<file>            Name input file
  -o --output=<file>           Name output file
  -J --input-format=<format>   Specify input format
  -O --output-format=<format>  Specify output format
  -F --target=<target>         Specify COFF target
     --preprocessor=<program>  Program to use to preprocess rc file
  -I --include-dir=<dir>       Include directory when preprocessing rc file
  -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
  -U --undefine <sym>          Undefine SYM when preprocessing rc file
  -v --verbose                 Verbose - tells you what it's doing
  -l --language=<val>          Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
                               the preprocessor output
     --no-use-temp-file        Use popen (default)
  -r                           Ignored for compatibility with rc
  @<file>                      Read options from <file>
  -h --help                    Print this help message
  -V --version                 Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified.  A single file name is an input file.
No input-file is stdin, default rc.  No output-file is stdout, default rc.
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
mingw32-make[2]: *** [oo-spd/i386/emacs.res] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make[1]: *** [bootstrap-temacs] Error 2
mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/src'
mingw32-make: *** [bootstrap-gmake] Error 2

I used the same script as in my OP.

- Eric

Oops, I didn't paste the actual windres command issue. Here's a few more lines: gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -mno-cygwin -mtune=pentium4 -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 -DPURESIZE=5000000 -o oo-spd/i386/firstfile.o firstfile.c windres -O coff --include-dir ../nt -o oo-spd/i386/emacs.res ../nt/emacs.rc stamp_BLD





reply via email to

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