This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: error compiling gcc 3.01
On Mon, Oct 08, 2001 at 10:39:10PM +0200, guerby@acm.org wrote:
> > See the installation instructions, specifically the part about building
> > in a separate directory from the sources.
>
> BTW, why don't we just abort configure if it is run inside the source
> directory? If it's not supported there's no reason to let things
> compile for an hour before issuing an obscure message.
Even better would be for the top-level configure to do something like
if test $srcdir = . ; then
# we are building in the source dir, uh-oh
mkdir builddir
cd builddir
exec $CONFIG_SHELL ../configure $@
fi
and make all builds "non-sourcedir builds".
This seems really obvious, therefore there is some obscure reason why this
wasn't ever done. Probably something about multilibs.
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams