This is the mail archive of the gcc-bugs@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]

[Bug ada/86211] GCC 8 ada cannot build GCC 7 ada


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211

--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> ---
On Tue, 19 Jun 2018, charlet at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86211
> 
> Arnaud Charlet <charlet at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |charlet at gcc dot gnu.org
> 
> --- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
> As you said, this combination isn't guaranteed to work, although I'm surprising
> by the gcc command line you showed, which doesn't include -Iada/libgnat or
> -I../../gcc/ada/libgnat as per ADA_INCLUDES in gcc-interface/Make-lang.in:
> 
> ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada
> -I$(srcdir)/ada/gcc-interface -Iada/libgnat -I$(srcdir)/ada/libgnat
> 
> So I'd suggest double checking your source tree here, maybe you have some local
> changes that are modifying ADA_INCLUDES?

I'm building the GCC 7 branch which has the following in
gcc-interface/Make-lang.in:

ADA_INCLUDES = -nostdinc -I- -I. -Iada/generated -Iada -I$(srcdir)/ada 
-I$(srcdir)/ada/gcc-interface

The GCC 7 branch doesn't seem to have a libgnat subdirectory under ada/

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