[Ffmpeg-devel] cross compilation fails from x86_64 to mingw32
Gianluigi Tiesi
mplayer
Sat Aug 12 14:51:29 CEST 2006
I'm cross compiling mingw32 ffmpeg on a x86_64 host.
There is a check in the configure
that outputs:
TARGET_ARCH_X86_64=yes
#define ARCH_X86_64 1
depending on the host cpu, obiviuosly it will fail in i386 asm where
asm code is ifdefed between x86 and x86_64,
I've looked at configure and it seams that this check is unconditional
i.e. is taken from the output of uname -m and not asking the compiler
I suggest to extrapolate it from gcc -dumpmachine,
and yes I known there is a --cpu option, but I think the approach is
wrong.
Bye
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
More information about the ffmpeg-devel
mailing list