Check out the code:
https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/cmuclmtk
The repository also contains binaries for Windows and Linux. Binaries are stored by OS, in bin/x86-nt/ and bin/x86-linux/.
Configure and compile in linux:
To compile for a 32-bit word ID space, add "--enable-32bits" to the configure command line. It's not a bad idea to always include this flag.
aclocal && autoheader && automake --add-missing --copy && autoconf ./configure CFLAGS="-g -Wall -O0" CXXFLAGS="-g -Wall -O0" make && make install
Configure and compile for Windows:
You should do your development underCygwin since the makefiles are autobuild-oriented. Be sure to download the developer and mingw components. To compile for a 32-bit word ID space, add "--enable-32bits" to the configure command line. You want to compile with mingw since this will give you Windows-native binaries and will therefore be portable from computer to computer.
aclocal && autoheader && automake --add-missing --copy && autoconf ./configure --enable-mingw CFLAGS="-g -Wall -O0" CXXFLAGS="-g -Wall -O0" make && make install
For Development on Linux
- build with autoconf
- commit
- do an update from a windows box with cygwin
- compile under cygwin
- commit again
For Development on Windows
- build with cygwin
- commit
- do an update on a linux box
- build with autoconf
- commit again
If you're working on a filesystem shared by linux and windows then you can skip the middle commit and update steps.