This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

Re: ada/6160: configure sets up bootstrap to build ada with too-old


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


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