public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: DJ Delorie <dj@delorie.com>
Cc: bkoz@redhat.com, gcc@gcc.gnu.org, binutils@sources.redhat.com,
	gdb@sources.redhat.com
Subject: Re: srcdir == objdir build issues [SC take note]
Date: Sat, 10 May 2003 04:56:00 -0000	[thread overview]
Message-ID: <m3issj2ye0.fsf@gossamer.airs.com> (raw)
In-Reply-To: <200305100140.h4A1eKqB022183@envy.delorie.com>

DJ Delorie <dj@delorie.com> writes:

> > Did anybody not like this approach? I was surprised this did not go in.
> 
> I had misgivings about a setup where you tell the software to do one
> thing, and it does something completely different.  It also added a
> maintenance headache for the "synthetic" top-level Makefile, since
> every target in the real Makefile would have to be replicated (and
> maintained - for ever).  It's far easier to just tell the user to
> build elsewhere.

For what it's worth, I agree.

Personally, I think the only reasonable choices are:

1) Have ./configure work in the expected and normal fashion; that is,
   put .o files next to the .c files, and only create new
   subdirectories for unusual cases like multilib.  This obviously
   requires regular testing, which is simple, and a commitment to keep
   it working, which is harder but should be doable.

or

2) Have ./configure simply fail with an error message directing the
   user to acquire GNU make and build in a different directory.

I think that having ./configure do something else is an increase in
complexity for no clear benefit.  I believe the point of having
./configure work is to make gcc behave like most other programs.  That
is, I think the goal ``./configure must work'' is incomplete.  The
right goal is ``./configure must behave as expected.''  Either
implement that goal, or have it fail in an obvious and straightforward
fashion.

Ian

  reply	other threads:[~2003-05-10  4:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10  1:12 Benjamin Kosnik
2003-05-10  1:40 ` DJ Delorie
2003-05-10  4:56   ` Ian Lance Taylor [this message]
2003-05-10  4:57   ` Alexandre Oliva
2003-05-11  0:43   ` Phil Edwards
2003-05-11  0:46     ` DJ Delorie
     [not found] <20EC888E-81F7-11D7-9B47-000393681B36@yahoo.com>
2003-05-09 17:55 ` DJ Delorie
2003-05-09 18:19   ` Phil Edwards
2003-05-09 18:41     ` DJ Delorie
2003-05-09 18:54       ` Phil Edwards
2003-05-09 22:35         ` Alexandre Oliva
2003-05-09 22:14   ` Neil Booth

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=m3issj2ye0.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=binutils@sources.redhat.com \
    --cc=bkoz@redhat.com \
    --cc=dj@delorie.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@sources.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).