This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: ada/6160: configure sets up bootstrap to build ada with too-old
- From: Brad Lucier <lucier at math dot purdue dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 4 Apr 2002 14:06:03 -0000
- Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
- Reply-to: Brad Lucier <lucier at math dot purdue dot edu>
The following reply was made to PR ada/6160; it has been noted by GNATS.
From: Brad Lucier <lucier@math.purdue.edu>
To: fw@deneb.enyo.de (Florian Weimer)
Cc: lucier@math.purdue.edu (Brad Lucier), gcc-gnats@gcc.gnu.org
Subject: Re: ada/6160: configure sets up bootstrap to build ada with too-old
Date: Thu, 4 Apr 2002 08:58:50 -0500 (EST)
>
> Brad Lucier <lucier@math.purdue.edu> writes:
>
> >> How have you invoked configure, i.e. with which path and with which
> >> arguments?
>
> > ../configure --prefix=/u/lucier/local/gcc-3.1
>
> This indicates that your build directory is inside the source
> directory tree. Such a configuration is not supported, as documented
> in the build instructions.
Well, it may not be supported, but that's not the problem in this case:
dino01% ../gcc-3.1/configure
dino01% make bootstrap > & build.log &
dino01% tail -40 build.log
...
gnatgcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -gnatpg -gnata -I- -I. -I../../../gcc-3.1/gcc/ada ../../../gcc-3.1/gcc/ada/gnat1drv.adb
gnatbind -C -I- -I. -I../../../gcc-3.1/gcc/ada -o b_gnat1.c -n gnat1drv.ali
fatal error: file gnat1drv.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
13.
|
make[3]: *** [b_gnat1.c] Error 4
The problem is that configure finds an installed gnatgcc and a gnatbind *that
are too old to build the current ada compiler*, but it tries to use them
anyway.
Brad