Thanks for the quick response !

> It appends when you try to link a x64 application on a i386 library. Xcode
> set the arch to x64 by default for new projects and gcc compile into x64
> by default too if you do not explicitly set the architecture.

The situation is as follows: I am using a 32Bit-Version of Qt, which so far 
works fine with any other libs I am linking with. So, I explicitly configure my 
app as x86 and not x86_64. Nevertheless, I am not sure if libffmpeg is built as 
32 or 64 bit but if gcc´s default is x64 I believe the latter is the case. So, 
I tried to configure as you suggested:

> I'm configuring ffmpeg like this to compile for i386
> 
> ./configure --prefix=/opt/ffmpeg  --enable-cross-compile --arch=i386
> --extra-cflags='-arch i386' --extra-ldflags='-arch i386'

but this lead to this error:

libavcodec/x86/h264dsp_mmx.c: In function ‘put_h264_qpel4_h_lowpass_3dnow’:
libavcodec/x86/h264dsp_mmx.c:2058: error: can't find a register in class 
‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/h264dsp_mmx.c:2058: error: ‘asm’ operand has impossible 
constraints

Do you know how to fix this ?

Thanks in advance

-- A l e x





-- 
Dr.-Ing. Alexander Carôt
Email : [email protected]
Tel.: +49 (0)177 5719797



Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to