Compiling Speex under UNIX/Linux or any other platform supported by autoconf (e.g. Win32/cygwin) is as easy as typing:

% ./configure [options]

% make

% make install

The options supported by the Speex configure script are:

Specifies the base path for installing Speex (e.g. /usr)
Whether to compile shared libraries
Whether to compile static libraries
Disable the wideband part of Speex (typically to save space)
Enable extra hits for valgrind for debugging purposes (do not use by default)
Enable use of SSE instructions (x86/float only)
Compile Speex for a processor that does not have a floating point unit (FPU)
Enable assembly specific to the ARMv4 architecture (gcc only)
Enable assembly specific to the ARMv5E architecture (gcc only)
Use only for debugging the fixed-point code (very slow)
Enable a special (and non-compatible) 4.8 kbps narrowband mode
Enable support for the TI C5x family
Enable assembly specific to the Blackfin DSP architecture (gcc only)
Make the encoder use the Vorbis psycho-acoustic model. This is very experimental and may be removed in the future.


Speex is known to compile and work on a large number of architectures, both floating-point and fixed-point. In general, any architecture that can natively compute the multiplication of two signed 16-bit numbers (32-bit result) and runs at a sufficient clock rate (architecture-dependent) is capable of running Speex. Architectures that are known to be supported (it probably works on many others) are:

Operating systems on top of which Speex is known to work include (it probably works on many others):

The source code directory include additional information for compiling on certain architectures or operating systems in files.

Jean-Marc Valin 2007-05-23