[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trunk bootstrap failure [Cygwin]
From: |
Angelo Graziosi |
Subject: |
Re: Trunk bootstrap failure [Cygwin] |
Date: |
Thu, 08 Jul 2010 02:16:13 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 |
Il 07/07/2010 18.22, Dan Nicolaescu ha scritto:
It looks like the start_of_text function is only used on AIX and
MSDOS, so you can get the same result by completely removing start_of_text,
which makes the
#define TEXT_START
unnecessary.
Indeed. Emacs (rev.100746) bootstraps also with these patches:
==============
--- emacs.orig/configure 2010-07-02 11:27:38.000000000 +0200
+++ emacs/configure 2010-07-06 10:45:21.656250000 +0200
@@ -5864,7 +5864,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.
--- emacs.orig/src/sysdep.c 2010-07-08 00:48:35.202874000 +0200
+++ emacs/src/sysdep.c 2010-07-08 00:58:50.843750000 +0200
@@ -1523,16 +1523,16 @@
#if !(defined (__NetBSD__) && defined (__ELF__))
#ifndef HAVE_TEXT_START
-char *
-start_of_text (void)
-{
-#ifdef TEXT_START
- return ((char *) TEXT_START);
-#else
- extern int _start ();
- return ((char *) _start);
-#endif /* TEXT_START */
-}
+/* char * */
+/* start_of_text (void) */
+/* { */
+/* #ifdef TEXT_START */
+/* return ((char *) TEXT_START); */
+/* #else */
+/* extern int _start (); */
+/* return ((char *) _start); */
+/* #endif /\* TEXT_START *\/ */
+/* } */
#endif /* not HAVE_TEXT_START */
#endif
==============
Since 'start_of_text' is not used by Cygwin build, shouldn't 'ecrt0.c'
be completely unnecessary?
Ciao,
Angelo.
- Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/05
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/05
- Re: Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/06
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/07
- Re: Trunk bootstrap failure [Cygwin],
Angelo Graziosi <=
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Eli Zaretskii, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Andreas Schwab, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/08
- Re: Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/09
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/09
- Re: Trunk bootstrap failure [Cygwin], Angelo Graziosi, 2010/07/09
- Re: Trunk bootstrap failure [Cygwin], Dan Nicolaescu, 2010/07/09