From: "Joseph S. Myers" <joseph@codesourcery.com>
To: gcc@gcc.gnu.org, binutils@sourceware.org, gdb@sourceware.org,
newlib@sourceware.org
Subject: Re: On the toplevel configure and build system
Date: Wed, 30 Mar 2011 15:16:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.64.1103301502310.20285@digraph.polyomino.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.64.1103292059260.2595@digraph.polyomino.org.uk>
On Tue, 29 Mar 2011, Joseph S. Myers wrote:
> Specifically, I propose removal of all support for building: ash autoconf
> automake bash byacc bzip2 diff dosutils fileutils findutils find gawk
> gettext gnuserv gzip hello indent libiconv libtool make mmalloc patch perl
> prms rcs release recode sed send-pr shellutils tar textutils time uudecode
> wdiff zip expect guile target-gperf target-examples target-qthreads. See
> <http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01674.html> and followups
> regarding reasons to keep a few packages in my original list that aren't
> in the list above.
There's been push-back on libiconv and expect.
Having looked more at tools in src, I see that cgen has code for using
in-tree guile - but there are no associated dependencies at toplevel. I
continue to think that the right model for cgen is a separate repository
not containing any of the toplevel machinery or makefile rules referring
outside the source directory; the rules for converting files in the
toplevel cpu/ directory to C code used in opcodes etc. should go in the
toplevel cpu/ directory (or elsewhere in binutils+gdb) and should be
written to use an installed cgen binary.
I've seen no push-back on the other packages here, and some of those not
proposed for removal may nevertheness not be of current use.
> 2. If you put directories from the GCC repository into your build, you
> should expect GCC and its libraries to be built; toplevel should not
> disable GCC on the grounds that GCC does not support a given target.
There have been objections to this principle, so I propose a weaker:
2'. If the combination of directories present in the source tree would not
build and install anything for the host or target (other than host
libraries such as libiberty) then there should be an error at configure or
build time. For example, a GCC source tree should not quietly build
nothing because GCC isn't supported for the target; a binutils+gdb tree
should not quietly build nothing for lack of BFD support, although it
might build only a subset of binutils if ld and gdb aren't supported.
> 6. Splitting up the src repository into multiple separate repositories
> would be desirable as part of moving components away from CVS; different
> projects should not be tied so closely to each other. I propose the
> following as a natural division (moving anything out is complicated, with
> various scripts, documentation etc. to update, but as noted here it should
> be possible to move cgen and rda without any dependencies on other
> projects):
I'd still like comments on how
> (h) utils - I don't know what to do with this directory or where it best
> goes.
relates to the other bits of src and where it would best go if src is
split up.
--
Joseph S. Myers
joseph@codesourcery.com
next prev parent reply other threads:[~2011-03-30 15:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 21:52 Joseph S. Myers
2011-03-29 22:28 ` DJ Delorie
2011-03-29 23:29 ` Joseph S. Myers
2011-03-29 23:41 ` Frank Ch. Eigler
2011-03-29 23:48 ` DJ Delorie
2011-03-29 23:52 ` Joseph S. Myers
2011-03-29 22:50 ` Geoffrey Keating
2011-03-30 0:07 ` Ian Lance Taylor
2011-03-29 23:45 ` Joseph S. Myers
2011-03-30 13:37 ` Tom Tromey
2011-03-30 15:16 ` Joseph S. Myers [this message]
2011-03-30 15:34 ` DJ Delorie
2011-03-30 15:54 ` Joseph S. Myers
2011-03-31 7:44 ` Paolo Bonzini
2011-03-31 12:09 ` Joseph S. Myers
2011-03-31 7:46 ` Paolo Bonzini
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=Pine.LNX.4.64.1103301502310.20285@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=binutils@sourceware.org \
--cc=gcc@gcc.gnu.org \
--cc=gdb@sourceware.org \
--cc=newlib@sourceware.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