From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: cannot build bzr tip on mingw Date: Mon, 02 May 2011 18:21:06 -0400 Message-ID: References: <83tydc4zeo.fsf@gnu.org> <4DBF2B77.50201@cornell.edu> Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304374891 26784 80.91.229.12 (2 May 2011 22:21:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 22:21:31 +0000 (UTC) Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 03 00:21:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QH1Ub-0007g3-9T for ged-emacs-devel@m.gmane.org; Tue, 03 May 2011 00:21:25 +0200 Original-Received: from localhost ([::1]:55459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1Ua-0002ch-P3 for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 18:21:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1US-0002cZ-SG for emacs-devel@gnu.org; Mon, 02 May 2011 18:21:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH1UP-0007Yy-DF for emacs-devel@gnu.org; Mon, 02 May 2011 18:21:16 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:44537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1UL-0007YJ-N5; Mon, 02 May 2011 18:21:09 -0400 Original-Received: by vws4 with SMTP id 4so5926233vws.0 for ; Mon, 02 May 2011 15:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:in-reply-to :references:user-agent:mail-copies-to:return-receipt-to:reply-to :x-attribution:x-disclaimer:date:message-id:mime-version :content-type; bh=OnZkHGGJLLNqpp4sKvC4Iyvt6y+gzyB7VuGISB4yq+o=; b=DdobychqwJSeIeX/bj9Cc5wpAW1HzKKvKUjqjKBwUFIW6vxycIqhMXZczm/GbFABtx EXxJ0wsqWvb7bAVT4QfAYzkbww0ZK0TlQW7jUSmaGy+MQ0eYVejmbmyhpNfJZEZWVlf7 MYc486vL+QX16DkWP8SROK2yDzgz2qt3cSpOA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :mail-copies-to:return-receipt-to:reply-to:x-attribution :x-disclaimer:date:message-id:mime-version:content-type; b=EfIT83ojoOpWyEJWOpWNM7Nc5NnJQ1Q18fkLJdoU3+4+BDYUl1aSJNbpQO73hmQsEt xGfXI9DT2C03jIa9El4JmezSb1v01AxONbJ6J1QTHH2C4u549L5RMHtBellhitmPf+uC c8ykS71usVnhyYmv0uvugQ9Yjt3m8ubrAVexY= Original-Received: by 10.52.76.195 with SMTP id m3mr4551988vdw.130.1304374868848; Mon, 02 May 2011 15:21:08 -0700 (PDT) Original-Received: from tbox.wtc.algo (rrcs-24-103-48-205.nyc.biz.rr.com [24.103.48.205]) by mx.google.com with ESMTPS id he7sm1183889vdb.29.2011.05.02.15.21.06 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2011 15:21:08 -0700 (PDT) In-Reply-To: <4DBF2B77.50201@cornell.edu> (Ken Brown's message of "Mon, 02 May 2011 18:08:55 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139009 Archived-At: > * Ken Brown [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 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.