From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Dan Nicolaescu <dann@gnu.org>
Cc: emacs <emacs-devel@gnu.org>
Subject: Re: Trunk bootstrap failure [Cygwin]
Date: Thu, 08 Jul 2010 02:16:13 +0200 [thread overview]
Message-ID: <4C3518CD.3030609@alice.it> (raw)
In-Reply-To: <yxq39vvcldf.fsf@fencepost.gnu.org>
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.
next prev parent reply other threads:[~2010-07-08 0:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 23:35 Trunk bootstrap failure [Cygwin] Angelo Graziosi
2010-07-06 2:29 ` Dan Nicolaescu
2010-07-06 9:08 ` Angelo Graziosi
2010-07-06 15:19 ` Dan Nicolaescu
2010-07-07 9:12 ` Angelo Graziosi
2010-07-07 10:34 ` Eli Zaretskii
2010-07-07 12:11 ` Ken Brown
2010-07-07 16:22 ` Dan Nicolaescu
2010-07-08 0:16 ` Angelo Graziosi [this message]
2010-07-08 5:54 ` Dan Nicolaescu
2010-07-08 9:01 ` Angelo Graziosi
2010-07-08 10:09 ` Angelo Graziosi
2010-07-08 10:22 ` Eli Zaretskii
2010-07-08 10:32 ` Andreas Schwab
2010-07-08 23:07 ` Dan Nicolaescu
2010-07-09 13:49 ` Angelo Graziosi
2010-07-09 17:08 ` Dan Nicolaescu
2010-07-09 22:35 ` Angelo Graziosi
2010-07-10 1:36 ` Dan Nicolaescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C3518CD.3030609@alice.it \
--to=angelo.graziosi@alice.it \
--cc=dann@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.