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/13076] gnatlib can't be built cross


------- 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


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