GNU bug report logs - #6715
24.0.50; [PATCH] Cygwin build should use pre-crt0.c

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Fri, 23 Jul 2010 22:46:02 UTC

Severity: normal

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dan Nicolaescu <dann <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 6715 <at> debbugs.gnu.org
Subject: bug#6715: 24.0.50; [PATCH] Cygwin build should use pre-crt0.c
Date: Sat, 24 Jul 2010 01:13:28 -0400
Ken Brown <kbrown <at> cornell.edu> 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




This bug report was last modified 14 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.