Hi
I've got a problem with XCode and Altivec extensions.
I'm currently participating on a "libSIMD" project for crossplatform
SIMD access which is being developed with - among others - XCode.
libSIMD uses lots of inline functions to make it fast - which is essential.
I created a framwork out of it (headers, lib and stuff) for testing
purposes - no problem there.
Now I include this framework in another project and it works fine - as
long as I stay on the FPU emulation (which means no altivec instruction
is ever seen by the compiler).
When I now turn on the Altivec variant I get tons of compiler errors
because it seems not to know the "vector [...]" datatype - which is
indeed ... bad.
Now this is strange because Altivec extensions ARE enabled in the
project settings and in my normal (non-framework) files vector IS known.
Somebody got an explenation for this weird behaviour?
Thx.
Arne
|