[x264-devel] cross-compile libx264 failure

董 瑞涛 donreason at gmail.com
Wed Jun 12 18:17:20 CEST 2013


Steven Walters:

Thanks.

I followed your instructions, and it worked. Thank you very much.

Adding a space after $(AR) and $(LD) is still necessary.

export CC=powerpc-none-linux-gnuspe-gcc
export RANLIB=powerpc-none-linux-gnuspe-ranlib
export LD=powerpc-none-linux-gnuspe-ld
export AR=powerpc-none-linux-gnuspe-ar
export STRIP=powerpc-none-linux-gnuspe-strip
export PATH="/usr/local/powerpc-none-linux-gnuspe/bin/:$PATH"

./configure --cross-prefix=powerpc-none-linux-gnuspe- --enable-static --host=ppc-linux --disable-asm 



在 2013-6-12,下午11:13,Steven Walters <kemuri9 at gmail.com> 写道:

> 
> You should not be specifying any of CC, RANLIB, LD, AR, or STRIP to make.
> this would explain why you're encountering the errors you've listed above to where you're modifying the makefile to work around them.
> 
> Utilize the --cross-prefix option in ./configure
> 
> since gcc is used to link with by default in this fashion as well, you are likely to no longer encounter the link issues you've listed as well.
> 
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list