I'm trying to build ffmpeg (ffmpeg-mt actually) on snow leopard, and I keep 
getting 64 bit binaries. After I configure, with:

./configure --disable-static --enable-shared --disable-debug --disable-ffprobe 
--arch=x86_32 --disable-ffmpeg --disable-ffserver --enable-pthreads 
--enable-runtime-cpudetect --prefix=../synchromesh-ffmpeg 
--extra-libs="../libvpx/lib/libvpx.a" --extra-cflags="-I../libvpx/include"

That seems fine. I can look in config.mak, and see:

ARCH=x86_32
then
!ARCH_X86=yes
ARCH_X86_32=yes
!ARCH_X86_64=yes

But, as I say, the resulting object code is all x86_64. I can look in 
config.err and see some more suspicious stuff, such as:

HOSTTYPE=x86_64
and later:
MACHTYPE=x86_64-apple-darwin10.0

Then even further down:
gcc -Wl,-dynamic,-search_paths_first -I/opt/local/include/SDL -D_GNU_SOURCE=1 
-D_THREAD_SAFE -L/opt/local/lib -Wl,-framework,Cocoa -o 
/var/folders/jL/jLYNCZ6J2RWV2U+8ZM6NY++++TU/-Tmp-//ffconf.2jbO0mbp 
/var/folders/jL/jLYNCZ6J2RWV2U+8ZM6NY++++TU/-Tmp-//ffconf.Z1rvZOfM.o 
../libvpx/lib/libvpx.a -lz -lbz2 -lm -lSDLmain -lSDL
ld: warning: in /opt/local/lib/libz.dylib, file was built for i386 which is not 
the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libbz2.dylib, file was built for i386 which is 
not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libSDLmain.a, file was built for unsupported 
file format which is not the architecture being linked (x86_64)
ld: warning: in /opt/local/lib/libSDL.dylib, file was built for i386 which is 
not the architecture being linked (x86_64)

This is from configure, not make, so I'm not sure what was being linked (I 
don't have SDL).

Is this considered a 'cross compilation' since my OS is 64-bit?

Bruce

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to