This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: PATCH: fix build problem on spu
- From: Andrew_Pinski at PlayStation dot Sony dot Com
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: newlib at sourceware dot org, patmans at us dot ibm dot com
- Date: Mon, 8 Oct 2007 18:47:10 -0700
- Subject: Re: PATCH: fix build problem on spu
newlib-owner@sourceware.org wrote on 10/08/2007 06:29:55 PM:
> I'm not quite sure if this ever worked, but building newlib with
> --target=spu fails because `vector' is not defined early enough.
> spu_intrinsics.h must be included before simdmath.h, which is needed for
> the vector -> __vector defintion.
Either this patch or a patch to use __vector instead of vector is the
correct thing to do. Both are portable.
Thanks,
Andrew Pinski