unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: MS-Windows build using Posix configury
Date: Sat, 20 Apr 2013 09:35:13 +0200	[thread overview]
Message-ID: <CAH8Pv0ij5AiYATEWW1krpPJubyWOXZMSsZ4WGoFOG3iS5JncJQ@mail.gmail.com> (raw)
In-Reply-To: <83ehe51zi4.fsf@gnu.org>

>> 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.

By "packages installed by default", I mean the packages that get
installed if you install MinGW (with the "mingw-get-inst-20120426.exe"
installer) and accept the default options in the wizard.

Sorry, I've not found a way to get the list of installed packages
(AFAICT, the package manager currently lacks such a feature).

>> 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?

Yes, I have image libraries, but I wanted to try first a simple build,
to make sure that a botched library setup is not the culprit of any
build failure.

>>   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.

Ok, I've done the above change, and now a plain "make" ends up failing here:

  [...]
  creating src/epaths.h
  make[1]: Entering directory `/c/emacs/build'
  make[1]: Leaving directory `/c/emacs/build'
  config.status: executing gdbinit commands
  [ -r "/c/emacs/mybranch/src/config.in" ] || ( cd /c/emacs/mybranch
&& autoheader
   )
  cd nt && make all                          \
            CC='gcc  -std=gnu99' CFLAGS='-O0 -g3'
CPPFLAGS='-mtune=pentium4  -DGLY
  PH_DEBUG=1 -DUSE_CRT_DLL=1 -I /c/emacs/mybranch/nt/inc' \
            LDFLAGS='' MAKE='make'
  make[1]: Entering directory `/c/emacs/build/nt'
  windres -O coff -o emacs.res /c/emacs/mybranch/nt/emacs.rc
  gcc  -std=gnu99 -mtune=pentium4    -I. -I/c/emacs/mybranch/nt
-mtune=pentium4
   -DGLYPH_DEBUG=1 -DUSE_CRT_DLL=1 -I /c/emacs/mybranch/nt/inc -O0 -g3
/c/emacs/my
  branch/nt/runemacs.c emacs.res \
           -o runemacs.exe
  make[1]: *** No rule to make target
`/c/emacs/mybranch/nt/../src/epaths.h', need
  ed by `addpm.exe'.  Stop.
  make[1]: Leaving directory `/c/emacs/build/nt'
  make: *** [nt] Error 2



--
Dani Moncayo



  reply	other threads:[~2013-04-20  7:35 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16 18:24 MS-Windows build using Posix configury Eli Zaretskii
2013-04-16 18:40 ` Eli Zaretskii
2013-04-16 20:13 ` Stefan Monnier
2013-04-17  2:53   ` Eli Zaretskii
2013-04-16 21:17 ` Glenn Morris
2013-04-17  2:56   ` Eli Zaretskii
2013-04-17  6:25     ` Glenn Morris
2013-04-17 16:48       ` Eli Zaretskii
2013-04-17 17:11         ` Glenn Morris
2013-04-17 17:34           ` Eli Zaretskii
2013-04-17 17:53             ` Glenn Morris
2013-04-17 18:15               ` Glenn Morris
2013-04-17 18:44                 ` Eli Zaretskii
2013-04-17  0:42 ` Glenn Morris
2013-04-17  2:57   ` Eli Zaretskii
2013-04-17  6:24     ` Glenn Morris
2013-04-17  3:33 ` Paul Eggert
2013-04-17 17:00   ` Eli Zaretskii
2013-04-17 18:48     ` Paul Eggert
2013-04-17 19:15       ` Glenn Morris
2013-04-17 19:45         ` Eli Zaretskii
2013-04-17 20:43           ` Glenn Morris
2013-04-17 21:19         ` Paul Eggert
2013-04-17 22:38           ` Glenn Morris
2013-04-18  0:52             ` Paul Eggert
2013-04-18  5:29               ` Glenn Morris
2013-04-18 16:11                 ` Eli Zaretskii
2013-04-17  6:27 ` Glenn Morris
2013-04-17  6:31 ` Glenn Morris
2013-04-18 19:32 ` Dani Moncayo
2013-04-18 20:27   ` Dani Moncayo
2013-04-18 21:20   ` Eli Zaretskii
2013-04-18 22:03     ` Dani Moncayo
2013-04-19  6:34       ` Eli Zaretskii
2013-04-19 20:17         ` Dani Moncayo
2013-04-20  6:34           ` Eli Zaretskii
2013-04-20  7:35             ` Dani Moncayo [this message]
2013-04-20  7:56               ` Eli Zaretskii
2013-04-20 17:18                 ` Dani Moncayo
2013-04-20 18:30                   ` Eli Zaretskii
2013-04-20 20:21                     ` Dani Moncayo
2013-04-21 15:12                       ` Eli Zaretskii
2013-04-21 19:53                         ` Dani Moncayo
2013-05-01 15:30                           ` Dani Moncayo
2013-05-01 16:30                             ` Eli Zaretskii
2013-05-01 19:30                               ` Dani Moncayo
2013-05-01 19:40                                 ` Eli Zaretskii
2013-05-02  6:43                                   ` Dani Moncayo
2013-05-02 16:19                                     ` Eli Zaretskii
2013-05-02 18:40                                       ` Dani Moncayo
2013-05-02 19:49                                         ` Eli Zaretskii
2013-05-02 21:42                                           ` Dani Moncayo
2013-05-02 21:43                                             ` Dani Moncayo
2013-05-03  8:50                                             ` Eli Zaretskii
2013-05-04 10:59                                               ` Dani Moncayo
2013-05-04 11:04                                                 ` Dani Moncayo
2013-05-04 11:27                                                 ` Eli Zaretskii
2013-05-04 12:00                                                   ` Dani Moncayo
2013-05-04 12:30                                                     ` Eli Zaretskii
2013-05-07 19:36                                                       ` Dani Moncayo
2013-05-07 21:13                                                         ` Eli Zaretskii
2013-05-07 22:04                                                           ` Dani Moncayo
2013-05-08 17:09                                                             ` Eli Zaretskii
2013-05-08 17:32                                                               ` Dani Moncayo
2013-05-13 12:23                                                               ` Andy Moreton
2013-05-13 16:23                                                                 ` Eli Zaretskii
2013-05-16  6:00                                                                   ` Eli Zaretskii
2013-05-16  6:31                                                                     ` Paul Eggert
2013-05-16  6:56                                                                       ` Eli Zaretskii
2013-05-16  7:16                                                                         ` Paul Eggert
2013-05-16  7:30                                                                           ` Eli Zaretskii
2013-05-16 13:19                                                                     ` Eli Zaretskii
2013-05-16 14:43                                                                       ` Dmitry Gutov
2013-05-16 15:41                                                                         ` Eli Zaretskii
2013-05-16 16:10                                                                           ` Dmitry Gutov
2013-05-16 17:17                                                                             ` Dani Moncayo
2013-05-16 17:54                                                                               ` Eli Zaretskii
2013-05-16 18:01                                                                                 ` Dani Moncayo
2013-05-16 18:36                                                                                   ` Eli Zaretskii
2013-05-16 21:02                                                                                 ` Dmitry Gutov
2013-05-17  6:02                                                                                   ` Eli Zaretskii
2013-05-16 17:18                                                                             ` Eli Zaretskii
2013-05-16 21:19                                                                               ` Dmitry Gutov
2013-05-17  9:39                                                                                 ` Eli Zaretskii
2013-05-17 12:05                                                                                   ` Dmitry Gutov
2013-05-17 13:13                                                                                     ` Eli Zaretskii
2013-05-17 14:03                                                                                       ` Dmitry Gutov
2013-05-17 14:26                                                                                         ` Eli Zaretskii
2013-05-17 15:29                                                                                           ` Dmitry Gutov
2013-05-17 16:05                                                                                             ` Eli Zaretskii
2013-05-17 16:30                                                                                               ` Dmitry Gutov
2013-05-17 17:40                                                                                                 ` Eli Zaretskii
2013-05-17 18:43                                                                                                   ` Eli Zaretskii
2013-05-17 20:47                                                                                                     ` Dmitry Gutov
2013-05-18  7:18                                                                                                       ` Eli Zaretskii
2013-05-18  8:08                                                                                                         ` Dmitry Gutov
2013-05-18  9:08                                                                                                           ` Eli Zaretskii
2013-05-18 13:24                                                                                                             ` Dmitry Gutov
2013-05-18 14:25                                                                                                               ` Eli Zaretskii
2013-05-18 14:28                                                                                                                 ` Dmitry Gutov
2013-05-18 18:21                                                                                                                   ` Eli Zaretskii
2013-05-18 18:42                                                                                                                     ` Dmitry Gutov
2013-05-18 18:53                                                                                                                       ` Eli Zaretskii
2013-05-18 19:15                                                                                                                         ` Dmitry Gutov
2013-05-18 19:24                                                                                                                           ` Eli Zaretskii
2013-06-07  8:51                                                                                                                           ` Eli Zaretskii
2013-06-07  9:36                                                                                                                             ` Dmitry Gutov
2013-06-07  9:56                                                                                                                               ` Eli Zaretskii
2013-05-19  6:48                                                                         ` Stephen Leake
2013-05-19 14:51                                                                           ` Eli Zaretskii
2013-05-21  8:31                                                                             ` Stephen Leake
2013-05-21 17:07                                                                               ` Eli Zaretskii
2013-05-21 19:36                                                                                 ` Stephen Leake
2013-05-25  7:29                                                                                   ` Eli Zaretskii
2013-04-19  3:05 ` Ken Brown
2013-04-19  6:35   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8Pv0ij5AiYATEWW1krpPJubyWOXZMSsZ4WGoFOG3iS5JncJQ@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=eliz@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).