This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: srcdir == objdir build issues [SC take note]
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: DJ Delorie <dj at delorie dot com>
- Cc: bkoz at redhat dot com, gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com, gdb at sources dot redhat dot com
- Date: 10 May 2003 01:57:49 -0300
- Subject: Re: srcdir == objdir build issues [SC take note]
- Organization: GCC Team, Red Hat
- References: <20030509201035.51143c7d.bkoz@redhat.com><200305100140.h4A1eKqB022183@envy.delorie.com>
On May 9, 2003, DJ Delorie <dj@delorie.com> wrote:
> It also added a maintenance headache for the "synthetic" top-level
> Makefile, since every target in the real Makefile would have to be
> replicated
Not every target, only the standard ones, such as all, install, clean,
possibly bootstrap. Or we could just finish ./configure by printing a
message such as:
since the build instructions suggest you should build in a
directory separate from the source tree, we went ahead and
created it for you. To build, cd to that directory and then
make bootstrap or make all will work.
This will break for people who automate it with ./configure; make;
make install, but GCC has had a non-standard build procedure forever
(we recommend make bootstrap, not make), and the error may actually be
a good opportunity for people to actually read the installation
instructions. Especially if the message actually points people at
it.
Hmm... But then, why not go ahead and just fail to configure anyway.
Yeah... It makes sense as well. Maybe even more sense...
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer