This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: configure error


On Sep  6, 2000, Joe Buck <jbuck@racerx.synopsys.com> wrote:

> On Sep  6, 2000, Kevin Handy <kth@srv.net> wrote:
>> > I just downloaded a cvs copy of gcc today and have the following error
>> > while trying to configure it (using "configure --prefix=/usr")

> Alexandre Oliva writes:
>> You're supposed to use a separate build tree for GCC.  This probably
>> wouldn't have occurred if you had followed the installation
>> instructions.

> While this *is* what we recommend, the fact that it's not the default
> means that people are going to do things the default way.  We should
> at least be trying it occasionally and fixing any bugs encountered.

True, but this just can't be done without a significant effort.  As
soon as you configure some package in the source tree, autoconf will
complain if you try to run configure on the same srcdir from a
different builddir, which is the case when configuring the target
library (unless I'm missing something; there appears to be some
soft-linking pass to work around this potential problem when
srcdir==builddir, but, IIRC, I've had trouble with it last time I
tried a srcdir==builddir build on some odd platform)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]