[SRILM User List] install srilm

Andreas Stolcke stolcke at icsi.berkeley.edu
Mon Jan 27 12:23:12 PST 2014


On 1/27/2014 11:21 AM, omm tayma wrote:
> Hi,
> I try to install srilm , i did this steps
> 1- i execute sudo ./sbin/machine-type and my machine type is :i686-m64
> 2- in the file /home/lenovo/Documents/srilm/common/ 
> Makefile.machine.i686-m64 i replace
> GCC_FLAGS = -mtune=pentium3 -Wreturn-type -Wimplicit
> CC = /usr/local/lang/gcc-3.4.3/bin/gcc $(GCC_FLAGS)
> CXX = /usr/local/lang/gcc-3.4.3/bin/g++ -Wno-deprecated $(GCC_FLAGS)
> -DINSTANTIATE_TEMPLATES
> by :
> # Use the GNU C compiler.
>   GCC_FLAGS = -march=i686-m64 -Wreturn-type -Wimplicit
> CC = /usr/bin/gcc $(GCC_FLAGS)
> CXX = /usr/bin/g++ -Wno-deprecated $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES

Just remove -march=i686-m64 from the GCC_FLAGS.

Andreas

PS.  Please don't send your posts multiple times.  I received 4 copies 
of it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20140127/452d08c0/attachment.html>


More information about the SRILM-User mailing list