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: "charlet at act-europe dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2003 09:18:28 -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 charlet at act-europe dot fr 2003-11-17 09:18 -------
Subject: Re: gnatlib can't be built cross
> 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.
I know, and this is exactly what I said in my previous message.
Given that prefix.o is actually not used afterwards, simply getting it to
compile is enough to solve this issue.
Another work around is to simply remove prefix.o from the libgnat objects.
Anyway, do whatever you like with this PR, you now have all the cards in
your hands.
Arno
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13076