This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/10693] make gnatlib_and_tools fails
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2003 16:24:45 -0000
- Subject: [Bug ada/10693] make gnatlib_and_tools fails
- References: <20030508204600.10693.kredba@mistral.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10693
------- Additional Comments From jsm at polyomino dot org dot uk 2003-10-21 16:24 -------
Subject: Re: make gnatlib_and_tools fails
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.