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]
Other format: [Raw text]

Re: 3.1 branch ada bootstrap fails


> 2002-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 
>	* Makefile.in (ALL_ADAFLAGS, MOST_ADAFLAGS): Add CFLAGS to defines.

I don't think that the patch is the cause of the problem:

gcc -c -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wt
raditional -pedantic -Wno-long-long -mdisable-indexing   -W -Wall -gnatpg -gnata
 -I- -I. -I../../../gcc/gcc/ada ../../../gcc/gcc/ada/ada.ads

does not cause an error in my builds and CFLAGS has always been used in
compiling ada files, except for a couple of days.

> This change causes ada to fail as of today as follows:
> 
> gnatgcc -c -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long    -W -Wall
> -gnatpg -gnata -I- -I. -I/usr/src/cvs/gcc-3.1/
> gcc/ada /usr/src/cvs/gcc-3.1/gcc/ada/ada.ads
> gnat1: Invalid option `-Wno-long-long'

I believe that you have an incompatibility between the GCC driver used
for your build and gnatgcc.  There is this configure check:

checking whether gcc accepts -Wno-long-long... yes

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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