[Bug ada/10693] make gnatlib_and_tools fails

Joseph S. Myers jsm@polyomino.org.uk
Tue Oct 21 16:24:00 GMT 2003


On Tue, 21 Oct 2003, charlet at gcc dot gnu dot org wrote:

> The gnatlib_and_tools target is equivalent to make gnatlib gnattools
> The gnattools target is only suitable for native builds.
> For cross builds, you need to use cross-gnattools (and ada.all.cross)
> target instead, e.g:
> 
> make gnatlib cross-gnattools ada.all.cross
> 
> So there is no bug per se.

The use of gnatlib_and_tools by the reporter would appear to be in
accordance with the documentation (gcc/doc/install.texi) which has no
mention of the cross-gnattools target.  You should consider being an Ada
maintainer to include maintaining the Ada-specific parts of the
installation documentation, and update and improve those as you see fit.

Of course, fixing bug 5910 so that toplevel "make" / "make bootstrap"  
(according to whether or not a cross compiler) builds the Ada library and 
tools would render that issue obsolete.

-- 
Joseph S. Myers
jsm@polyomino.org.uk



More information about the Gcc-bugs mailing list