From: Ian Lance Taylor <iant@google.com>
To: linasvepstas@gmail.com
Cc: Mike Frysinger <vapier@gentoo.org>,
libc-ports@sourceware.org, gcc@gcc.gnu.org,
GLIBC Devel <libc-alpha@sourceware.org>
Subject: Re: gcc vs. glibc bootstrapping of libgcc_eh.a
Date: Fri, 11 Nov 2011 21:43:00 -0000 [thread overview]
Message-ID: <mcrvcqqe3nd.fsf@dhcp-172-18-216-180.mtv.corp.google.com> (raw)
In-Reply-To: <CAHrUA35L03DW0Pw=n34dpLY-WsUEqL9XsUBWzjY3w8y+hjDN+w@mail.gmail.com> (Linas Vepstas's message of "Fri, 11 Nov 2011 15:27:18 -0600")
Linas Vepstas <linasvepstas@gmail.com> writes:
> Thanks Mike, silly me, it seems that crosstool_ng is exactly what I need!
>
> Off-topic, but .. anyone have a clue about why my canadian-cross of
> gcc is picking up its own internal limits.h, instead of glibc's
> limits.h? Since gcc's limits.h doesn't have ‘SSIZE_MAX’ which
> gcc/config/host-linux.c wants. I suppose I can just google the
> answer, can't I?
To clarify, your Canadian Cross should always be using gcc's internal
limits.h, so that is not surprising. The right question is why the
internal limits.h does not have a #include_next of the glibc limits.h
(via syslimits.h). I don't know the answer in your case, but I do know
that the test for whether there is a system limits.h, and that therefore
gcc should use a #include_next, is a fragile one.
Ian
next prev parent reply other threads:[~2011-11-11 21:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 17:29 Linas Vepstas
2011-11-09 17:53 ` Chris Metcalf
2011-11-10 2:50 ` Mike Frysinger
2011-11-11 21:27 ` Linas Vepstas
2011-11-11 21:43 ` Ian Lance Taylor [this message]
2011-11-11 22:23 ` Mike Frysinger
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=mcrvcqqe3nd.fsf@dhcp-172-18-216-180.mtv.corp.google.com \
--to=iant@google.com \
--cc=gcc@gcc.gnu.org \
--cc=libc-alpha@sourceware.org \
--cc=libc-ports@sourceware.org \
--cc=linasvepstas@gmail.com \
--cc=vapier@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).