From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: cannot build bzr tip on mingw Date: Mon, 02 May 2011 23:31:59 +0300 Message-ID: <83tydc4zeo.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1304368330 20472 80.91.229.12 (2 May 2011 20:32:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 20:32:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: sds@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 22:32:06 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 1QGzmo-00044Y-3H for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 22:32:06 +0200 Original-Received: from localhost ([::1]:42810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzmn-0007iQ-KR for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 16:32:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzmg-0007iD-58 for emacs-devel@gnu.org; Mon, 02 May 2011 16:32:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGzmf-00079L-5R for emacs-devel@gnu.org; Mon, 02 May 2011 16:31:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzme-00079D-UA; Mon, 02 May 2011 16:31:57 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LKL008003YOCM00@a-mtaout22.012.net.il>; Mon, 02 May 2011 23:31:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.185.101]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LKL008745143N70@a-mtaout22.012.net.il>; Mon, 02 May 2011 23:31:54 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:139000 Archived-At: > From: Sam Steingold > Date: Mon, 02 May 2011 15:47:01 -0400 > > $ ./configure.bat --no-debug --with-gcc --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib --without-xpm Do you always configure like that, or did something change since the last time you bootstrapped? > $ make bootstrap > ... > gcc -o oo-spd/i386/make-docfile.exe -mno-cygwin -LC:/gnu/gnuwin32/lib oo-spd/i386/make-docfile.o oo-spd/i386/ntlib.o -ladvapi32 > /usr/bin/ld: cannot find crt2.o: No such file or directory > /usr/bin/ld: cannot find -lmingw32 > /usr/bin/ld: cannot find -lmoldname > /usr/bin/ld: cannot find -lmingwex > /usr/bin/ld: cannot find -lmsvcrt > /usr/bin/ld: cannot find -lmingw32 > /usr/bin/ld: cannot find -lmingw32 > /usr/bin/ld: cannot find -lmoldname > /usr/bin/ld: cannot find -lmingwex > /usr/bin/ld: cannot find -lmsvcrt > collect2: ld returned 1 exit status > make[1]: *** [oo-spd/i386/make-docfile.exe] Error 1 > make[1]: Leaving directory `/cygdrive/c/sds/src/emacs/trunk/lib-src' > make: *** [bootstrap-gmake] Error 2 I don't get these errors when linking make-docfile.exe, but I didn't do a bootstrap. (Not sure why it should matter, though.) What does the following command display? gcc -print-file-name=libmingw32.a > Incidentally, I am using > gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > and I am wondering if using gcc4 is an option. I'm using gcc (GCC) 3.4.2 (mingw-special) and won't touch gcc4 with a 3-mile stick, until 4.6.x gets mature enough, and I can have my debugging together with -O2 again, like I had with 2.7.x and 2.8.x. But yes, you can use GCC 4, modulo the caveats in etc/PROBLEMS.