[x264-devel] Crosscompiling problem

Alexander Bokovikov openworld at uralweb.ru
Sat Jan 23 14:39:31 CET 2010


Hi, All,

I'm trying to make a PPC build on Intel Mac:

./configure --host=ppc-darwin

I've got some errors, like these:

gcc -O4 -ffast-math  -Wall -I. -falign-loops=16 -mdynamic-no-pic - 
faltivec -fastf -mcpu=G4 -DARCH_PPC -DSYS_MACOSX -DHAVE_PTHREAD -s - 
fomit-frame-pointer   -c -o common/ppc/mc.o common/ppc/mc.c
In file included from common/ppc/mc.c:34:
common/ppc/ppccommon.h:46: error: syntax error before ‘vector’
common/ppc/ppccommon.h:46: warning: no semicolon at end of struct or  
union
common/ppc/ppccommon.h:47: warning: type defaults to ‘int’ in  
declaration of ‘vec_u32_u’
common/ppc/ppccommon.h:47: warning: data definition has no type or  
storage class

and so on. It looks like "vector" type is not declared.

I'm using OS X 10.5 with XCode 3.1.4 and gcc 4.01 installed.

Could anybody help?

Thanks in advance.


More information about the x264-devel mailing list