Subject: bug#6715: closed (Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 Jul 2010 01:24:02 +0000

Your bug report

#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
6715: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6715
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c
From: Chong Yidong <[email-masked]>
To: Ken Brown <[email-masked]>
Cc: [email-masked]
Date: Fri, 23 Jul 2010 21:23:27 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Ken Brown <[email-masked]> 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:
>
> I'm sending this as a bug report so it doesn't get forgotten.  Please
> apply it to the trunk.

Applied, thanks.

Subject: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c
From: Ken Brown <[email-masked]>
To: [email-masked]
Date: Fri, 23 Jul 2010 18:44:57 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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:

--- 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