[Ffmpeg-devel] amd64 as canonical system type
Jacob Meuser
jakemsr
Mon May 9 12:11:22 CEST 2005
$ uname -a
OpenBSD puff 3.7 GENERIC#11 amd64
$ cc -dumpmachine
amd64-unknown-openbsd3.7
$ cc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd3.7/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
$
attached is a patch for configure to properly recognize this
as ARCH_X86_64.
--
<jakemsr at jakemsr.com>
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.175
diff -u -r1.175 configure
--- configure 8 May 2005 15:04:59 -0000 1.175
+++ configure 9 May 2005 09:11:59 -0000
@@ -123,6 +123,14 @@
cpu="x86"
fi
;;
+ amd64)
+ if [ "`$cc -dumpmachine | grep amd64 | cut -d- -f1`" = "amd64" -a \
+ -z "`echo $CFLAGS | grep -- -m32`" ]; then
+ cpu="x86_64"
+ else
+ cpu="x86"
+ fi
+ ;;
# armv4l is a subset of armv5tel
armv4l|armv5tel)
cpu="armv4l"
More information about the ffmpeg-devel
mailing list