This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
PA specifies invalid T_ADAFLAGS
- From: Matthew Wilcox <willy at debian dot org>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 24 Apr 2002 18:14:02 +0100
- Subject: PA specifies invalid T_ADAFLAGS
I'm trying to bootstrap an Ada hppa-linux crosscompiler. Here's my
latest problem, which doesn't appear to be PEBCAK this time :-)
Downloaded the 20020423 3.1 snapshot. Made bootstrap (on i386-linux),
installed. Configured with:
../gcc-3.1-20020423/configure --prefix=/opt/palinux --target=hppa-linux --enable-languages=c,ada --disable-shared --disable-nls |tee configure.out
Dies when it tries to compile:
gcc -c -g -O2 -mdisable-indexing -W -Wall -gnatpg -gnata -I- -I. -I../../../gcc-3.1-20020423/gcc/ada ../../../gcc-3.1-20020423/gcc/ada/ada.ads
since gcc (native i386 compiler) doesn't grok -mdisable-indexing which
is an HPPA specific option. This is picked up from T_ADAFLAGS, which
is defined in:
gcc/config/pa/t-linux
gcc/config/pa/t-pa
gcc/config/pa/t-pa64
gcc/config/pa/t-pro
I'm not terribly familiar with gcc's configure / build system, so I don't
know who's at fault here. Should PA be specifying this in X_ADAFLAGS?
Should Ada not be using T_ADAFLAGS like this?
--
Revolutions do not require corporate support.