emacs-devel
[Top][All Lists]
Advanced

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

Re: MS-Windows build using Posix configury


From: Eli Zaretskii
Subject: Re: MS-Windows build using Posix configury
Date: Sat, 20 Apr 2013 09:34:43 +0300

> Date: Fri, 19 Apr 2013 22:17:40 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 
> The packages I've installed (with "mingw-get install <package>"), in
> addition to the ones installed by default, are:
> * msys-base
> * mingw-developer-toolkit
> * msys-automake

What do you mean by "installed by default"?  If we want the
instructions to be comprehensive, we need to spell out _all_ of the
packages, including those installed by default.

> The configuration command is successful too:
>   $ CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3'
> ../mybranch/nt/msysconfig.sh --prefix=c:/usr --enable-checking
> --without-all

Why --without-all?  You do have the image libraries, right?

>   make[2]: Entering directory `/c/emacs/build/nt'
>   windres -O coff -o emacs.res emacs.rc
>   gcc: error: emacs.rc: No such file or directory
>   gcc: warning: '-x c' after last input file has no effect
>   gcc: fatal error: no input files
>   compilation terminated.
>   c:\MinGW\bin\windres.exe: preprocessing failed.
>   make[2]: *** [emacs.res] Error 1
>   make[2]: Leaving directory `/c/emacs/build/nt'
>   make[1]: *** [nt] Error 2
>   make[1]: Leaving directory `/c/emacs/build'
>   make: *** [bootstrap] Error 2
> 
> 
> What might the problem be?

It's a bug (I didn't yet try to build outside of the source tree, so I
didn't hit it).  Change this line in nt/Makefile.in:

        ${WINDRES} -O coff -o emacs.res emacs.rc

to say this instead:

        ${WINDRES} -O coff -o emacs.res ${srcdir}/emacs.rc

Btw, you don't need to say "make bootstrap" with this setup, unless
you want to force a bootstrap.  Just "make" will do whatever it takes
to build Emacs, and will bootstrap if needed.



reply via email to

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