Several people have reported trouble compiling with -DMMX.
The basic problem is that the MMX code is not exactly very portable.
It requires gcc, and it requires a recent version that knows about "+"
constraints in asm() code, and preferably about 8-byte alignment.
For best performance use the latest version, 2.95. Go to
http://egcs.cygnus.com/, get gcc-core-2.95.2.tar.gz, and then install
in /usr/test like this (in a partition with enough disk space i.e.,
something like 50 or 100 megs free):
gunzip -c gcc-core-2.95.2.tar.gz | tar xvf -
mkdir obj
cd obj
../gcc-2.95.2/configure --prefix=/usr/test
make
make install
cd ..
/bin/rm -rf obj gcc-2.95.2
It takes about 15 minutes on a fast machine. Finally compile using
/usr/test/bin/gcc.
Note: the MMX code clearly requires an assembler that knows about MMX
instructions, so use a binutils >= 2.8.1 (I think that's right but
don't quote me on it!).
We would be happy to put ready-made BSD binaries on the Web site...
Rob.
This archive was generated by hypermail 2b29 : Sat Jan 01 2000 - 15:26:57 MET