This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/13076] gnatlib can't be built cross
- From: "corsepiu at faw dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2003 08:46:22 -0000
- Subject: [Bug ada/13076] gnatlib can't be built cross
- References: <20031116171739.13076.corsepiu@faw.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From corsepiu at faw dot uni-ulm dot de 2003-11-17 08:46 -------
I think you didn't understand.
Given the implementation in gcc-3.3, gnatlib by no means can be cross-compiled,
because it is a misconception to include auto-host.h into any target-file.
If you manage to build it cross, it's only because, by accident your host and
target resembles enough for not provoking an error.
Building choking on not having found strings.h is only the symptom, not the
cause, because the host (linux) has strings.h, but the target (rtems/newlib)
doesn't have it.
This bug might be fixed in gcc-3.4 or not (I don't know, gcc-3.4 currently is
too volatile), it still is present in gcc-3.3.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13076