[x264-devel] Re: [PATCH] crosscompilation support

Bernhard Rosenkraenzer bero at arklinux.org
Thu Oct 27 17:45:17 CEST 2005


On Thursday, 27. October 2005 17:30, Dimos Stamatiou wrote:
> Question: Since you want to just add cross-compilation support to the
> main configure script, why do you have remove other switches such as
> --enable-pthread, --extra-cflags and others?

Take a closer look at the patch. I'm not removing them, I've just had to move 
the checks to an earlier place because some of the defines being set depend 
on values that, in turn, need to know which OS we're compiling for (setting 
-DARCH_X86 is quite harmful if you're compiling on an x86 box, but the target 
is something completely different) (if you're compiling on an x86 box but 
you're crosscompiling to ppc, ARCH_PPC has to be defined -- therefore at 
least --cross-compile has to be parsed before assumptions are made.)

LLaP
bero

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list