From: Zack Weinberg <zack@codesourcery.com>
To: Jim Blandy <jimb@redhat.com>
Cc: gcc@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: sharing libcpp between GDB and GCC
Date: Mon, 25 Mar 2002 20:07:00 -0000 [thread overview]
Message-ID: <20020326040735.GM23331@codesourcery.com> (raw)
In-Reply-To: <20020325234047.127345EA11@zwingli.cygnus.com>
On Mon, Mar 25, 2002 at 06:40:47PM -0500, Jim Blandy wrote:
>
> I assume there's general agreement that, if GDB and GCC are going to
> share libcpp, we'll want to pull libcpp out into its own top-level
> directory, with its own makefile and configure script, and move its
> header files into the top-level #include directory. Is that so?
Yes.
> - The GCC folks could do this extraction, ensuring that GCC continues
> to work. Then we can copy that directory over into GDB's
> repository, and begin the libcpp/GDB integration.
I like this plan, and am provisionally willing to do the work, with
the warning that we're coming up on the "no more major structural
changes" freeze deadline for GCC 3.2 and there are several other major
structural changes I want to squeeze in (new numeric-constant parser,
tm.h out of config.h, continued floating point overhaul).[1] And I'll be
out of touch, and not hacking on anything, from Wednesday through the
beginning of next week.
It should not be terribly hard to do though. There's two hurdles.
First, we have to dissociate cpplib from GCC's target configuration
entirely; thanks to Eric's integrated-preprocessor patch, it's now
practical to shift most of that to the C front end proper. Second,
the symbol table has to be split up between the two directories while
somehow maintaining its integration in the final binary. There's also
a bunch of shared code, but the gcc subdir can just reference object
files from the libcpp subdir.
It will be another reason for bootstrap to happen at the top level; I
would rather not do that myself.
zw
[1] If people feel that all or some of these can happen during the
"smaller improvements only" phase, I'll deprioritize them a bit.
next prev parent reply other threads:[~2002-03-26 4:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-25 15:40 Jim Blandy
2002-03-25 20:07 ` Zack Weinberg [this message]
2002-03-25 23:18 ` Neil Booth
2002-03-26 14:29 ` gcc development schedule [Re: sharing libcpp between GDB and GCC] Richard Henderson
2002-03-26 14:37 ` David Edelsohn
2002-03-26 21:32 ` Andreas Jaeger
2002-03-26 15:17 ` Neil Booth
2002-03-26 15:30 ` Tom Lord
2002-03-26 15:40 ` David Edelsohn
2002-03-26 16:03 ` Tom Lord
2002-03-26 16:41 ` Tim Hollebeek
2002-03-26 22:23 ` Eli Zaretskii
2002-03-26 22:43 ` Tom Lord
2002-03-27 7:18 ` mike stump
2002-03-27 9:00 ` law
2002-03-27 10:13 ` Neil Booth
2002-03-26 22:45 ` Tom Lord
2002-03-26 23:11 ` Daniel Berlin
2002-03-26 23:53 ` Tom Lord
2002-03-27 4:32 ` Fergus Henderson
2002-03-27 6:30 ` Andrew Cagney
2002-03-27 6:43 ` Gianni Mariani
2002-03-26 22:39 ` Andreas Jaeger
2002-03-26 22:54 ` Tom Lord
2002-03-26 15:31 ` Zack Weinberg
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=20020326040735.GM23331@codesourcery.com \
--to=zack@codesourcery.com \
--cc=gcc@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
--cc=jimb@redhat.com \
/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