[committed] fix Ada cross build bogosities

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Dec 5 14:17:00 GMT 2005


With this patch, I can get libada to compile on a cross 
i686-pc-linux-gnu -> sparc-rtems4.7 configuration with a unified tree 
(gcc+binutils+newlib).

The patch is actually quite trivial.  The gcc/ada bits simply change a 
./xgcc regular expression to ^\./xgcc (the . in the original expression 
was matching *any* character).

The libada bits, instead, simply pass the CC variable down to the 
gcc/ada makefile, so that FLAGS_FOR_TARGET is used while building libada.

Boostrapped i686-pc-linux-gnu (C/Ada), and built the aforementioned 
cross.  Committed as obvious.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ada-fix-build.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051205/ff92ed38/attachment.ksh>


More information about the Gcc-patches mailing list