unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Ken Brown <kbrown@cornell.edu>
Cc: Eli Zaretskii <eliz@gnu.org>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: cannot build bzr tip on mingw
Date: Mon, 02 May 2011 18:21:06 -0400	[thread overview]
Message-ID: <svvcxsd9rh.fsf@tbox.wtc.algo> (raw)
In-Reply-To: <4DBF2B77.50201@cornell.edu> (Ken Brown's message of "Mon, 02 May 2011 18:08:55 -0400")

> * Ken Brown <xoebja@pbearyy.rqh> [2011-05-02 18:08:55 -0400]:
>
> On 5/2/2011 5:13 PM, Sam Steingold wrote:
>> On Mon, May 2, 2011 at 4:31 PM, Eli Zaretskii<eliz@gnu.org>  wrote:
>>> But yes, you can use GCC 4, modulo the caveats in etc/PROBLEMS.
>> how, given that it no longer supports -mno-cygwin?
>
> The -mno-cygwin option is being phased out in favor of a genuine
> cygwin-mingw cross compiler.

I have seen this phrase, but I don't know what a "genuine cross compiler" is.

Specifically, what is the magic incantation which I should use instead
of "gcc -mno-cygwin" at the command line to produce a non-cygwin (pure
native woe32/64) executable?

Next, what is the magic incantation which I should use instead of
./configure.bat --no-debug --with-gcc --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib --without-xpm
to configure emacs to use this "genuine cross compiler"?

Penultimately, DIUC that with an autoconf-generated configure script the
right way to configure a package to be cross-built is
./configure --build arch-vendor-os

Finally, will this produce a valid windows (XP 64-bit) emacs on linux:
./configure --build x86_64-w64-mingw32

Thanks!

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://openvotingconsortium.org http://pmw.org.il http://iris.org.il
http://www.memritv.org http://ffii.org http://camera.org http://jihadwatch.org
The early worm gets caught by the bird.



  reply	other threads:[~2011-05-02 22:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 19:47 cannot build bzr tip on mingw Sam Steingold
2011-05-02 20:31 ` Eli Zaretskii
2011-05-02 20:40   ` Eli Zaretskii
2011-05-02 21:13   ` Sam Steingold
2011-05-02 22:08     ` Ken Brown
2011-05-02 22:21       ` Sam Steingold [this message]
2011-05-03  2:47         ` Ken Brown
2011-05-04 21:30           ` Ken Brown
2011-05-03  0:15       ` Jason Rumney
2011-05-03  3:00     ` Eli Zaretskii
2011-05-03 11:16       ` Ken Brown

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=svvcxsd9rh.fsf@tbox.wtc.algo \
    --to=sds@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kbrown@cornell.edu \
    /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).