[x264-devel] X264, amd64, compile error

Nathan Caldwell saintdev at gmail.com
Wed Feb 24 01:15:22 CET 2010


2010/2/23 Rolf Schöpfer <rs at samplezone.ch>:
>
>> Someone else reported this also, see the "[x264-devel] X264, amd64,
>> compile error" thread. In the mean time, it looks like the compiler is
>> defaulting to x86_64 as it should, while the linker is defaulting to
>> i386. Could you try adding
>> --extra-ldflags="-m64"
>> to your configure line, and see if that fixes it.
>>
>>
>>
>
> thanks for your advice!
>
> ./configure --extra-ldflags="-m64"
> No working C compiler found.
>
> gcc target host is i486 on debian. in that way 64bit can't be compiled. i
> don't know why this has to be like that and didn't find a way to install gcc
> toolchain for 32bit&  64bit code.

Wait, the host is 32-bit? Or are you cross-compiling, and the target is 32-bit?


-- 
-Nathan Caldwell


More information about the x264-devel mailing list