[Bug ada/13076] gnatlib can't be built cross

corsepiu at faw dot uni-ulm dot de gcc-bugzilla@gcc.gnu.org
Mon Nov 17 08:46:00 GMT 2003


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



More information about the Gcc-bugs mailing list