From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c Date: Sat, 24 Jul 2010 01:13:28 -0400 Message-ID: References: <4C4A1B69.2050100@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279949864 2979 80.91.229.12 (24 Jul 2010 05:37:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Jul 2010 05:37:44 +0000 (UTC) Cc: 6715@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 24 07:37:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcXQb-0000qE-P9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 07:37:42 +0200 Original-Received: from localhost ([127.0.0.1]:54059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcXQa-0003da-VK for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 01:37:41 -0400 Original-Received: from [140.186.70.92] (port=50029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcXQQ-0003dN-2k for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 01:37:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcXQO-0007tK-7v for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 01:37:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60368) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcXQO-0007tF-6E for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 01:37:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcX3i-0002Fn-Ek; Sat, 24 Jul 2010 01:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6715-submit@debbugs.gnu.org id=B6715.12799484138653 (code B ref 6715); Sat, 24 Jul 2010 05:14:02 +0000 Original-Received: (at 6715) by debbugs.gnu.org; 24 Jul 2010 05:13:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcX3E-0002FW-G6 for submit@debbugs.gnu.org; Sat, 24 Jul 2010 01:13:32 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcX3C-0002FR-4U for 6715@debbugs.gnu.org; Sat, 24 Jul 2010 01:13:30 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcX3A-0005O4-TO; Sat, 24 Jul 2010 01:13:29 -0400 In-Reply-To: <4C4A1B69.2050100@cornell.edu> (Ken Brown's message of "Fri\, 23 Jul 2010 18\:44\:57 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Jul 2010 01:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38860 Archived-At: Ken Brown writes: > The conclusion of > > http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00398.html > > was that the Cygwin build of Emacs should use pre-crt0.c instead of > ecrt0.c. The following patch accomplishes this: BTW, it would be good if you could look at configure.in and see if the line: cygwin) LINKER="\$(CC)" ;; [Just trying to remove special cases from the build system to simplify it...] > > --- configure.in.orig 2010-07-12 10:39:38.000000000 -0400 > +++ configure.in 2010-07-23 17:01:00.468750000 -0400 > @@ -1060,7 +1060,7 @@ > case $opsys in > cygwin ) > LIB_MATH= > - START_FILES='ecrt0.o' > + START_FILES='pre-crt0.o' > ;; > darwin ) > ## Adding -lm confuses the dynamic linker, so omit it. > > I'm sending this as a bug report so it doesn't get forgotten. Please > apply it to the trunk. > > Thanks. > > Ken