all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jarek Czekalski <jarekczek@poczta.onet.pl>
Cc: emacs-devel@gnu.org
Subject: Re: after r114507 cannot build on msys
Date: Thu, 31 Oct 2013 20:17:48 +0200	[thread overview]
Message-ID: <83ppqlcnjn.fsf@gnu.org> (raw)
In-Reply-To: <527296F1.9020300@poczta.onet.pl>

> Date: Thu, 31 Oct 2013 18:44:17 +0100
> From: Jarek Czekalski <jarekczek@poczta.onet.pl>
> 
> In r114506 configure say dup2: yes.
> 
> In r114507: dup2: no

Not here.  It still works for me with today's trunk, as it did before.

> configure:22632: checking whether dup2 works
> configure:22691: gcc -I /c/Temp/src/emacs/nt/inc -std=gnu99 -o 
> conftest.exe -g3 -O2 -gdwarf-2 -mtune=pentium4    conftest.c >&5
> configure:22691: $? = 0
> configure:22691: ./conftest.exe
> configure:22691: $? = 2
> configure: program exited with status 2
> configure: failed program was:
> 
> When it tries to build dup2.c it cannot find msvc-inval.h - I don't have 
> such file. Previously this was not build, because dup2 was detected ok.

How did you invoke the configure script?  Did you use
nt/msysconfig.sh, or did you invoke ./configure by hand?  I'm guessing
the latter, in which case the file nt/mingw-cfg.site was not loaded.
Please be sure to follow the instructions in nt/INSTALL.

Here's what my config.log says about this test:

  configure:22741: checking whether dup2 works
  configure:22811: result: yes

That's it: it never runs the test program, precisely because that
would erroneously decide that dup2 doesn't work.  This happens because
mingw-cfg.site forces configure to accept this result without testing.



  parent reply	other threads:[~2013-10-31 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31 17:44 after r114507 cannot build on msys Jarek Czekalski
2013-10-31 18:16 ` after r114507 cannot build on msys - dup2 problem Jarek Czekalski
2013-10-31 18:17 ` Eli Zaretskii [this message]
2013-10-31 18:57   ` Jarek Czekalski
2013-10-31 19:22     ` Jarek Czekalski

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=83ppqlcnjn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    /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.