From: Eric Lilja <mindcooler@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Some change in the past 24 hours broke building on Windows
Date: Wed, 07 Feb 2007 22:01:11 +0100 [thread overview]
Message-ID: <eqdemn$16m$1@sea.gmane.org> (raw)
In-Reply-To: <eqdebf$vq5$1@sea.gmane.org>
Eric Lilja skrev:
> Eli Zaretskii skrev:
>>> Date: Mon, 05 Feb 2007 06:26:34 +0200
>>> From: Eli Zaretskii <eliz@gnu.org>
>>> Cc: emacs-devel@gnu.org
>>>
>>>> From: Eric Lilja <mindcooler@gmail.com>
>>>> 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
next prev parent reply other threads:[~2007-02-07 21:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-04 19:13 Some change in the past 24 hours broke building on Windows Eric Lilja
2007-02-04 22:41 ` Jason Rumney
2007-02-04 23:30 ` Eric Lilja
2007-02-05 4:26 ` Eli Zaretskii
2007-02-07 18:40 ` Eli Zaretskii
2007-02-07 20:55 ` Eric Lilja
2007-02-07 21:01 ` Eric Lilja [this message]
2007-02-08 4:27 ` Eli Zaretskii
2007-02-08 10:57 ` Eric Lilja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eqdemn$16m$1@sea.gmane.org' \
--to=mindcooler@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this 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.