[SRILM User List] install srilm

omm tayma omm.tayma at yahoo.fr
Mon Jan 27 10:22:19 PST 2014

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)

by : 

# Use the GNU C compiler.
  GCC_FLAGS = -march=i686-m64 -Wreturn-type -Wimplicit
CC = /usr/bin/gcc $(GCC_FLAGS)
CXX = /usr/bin/g++


#TCL_LIBRARY = -ltcl

by :  

# Tcl support (standard in Linux)
 TCL_INCLUDE = -I/usr/include/tcl8.5
TCL_LIBRARY = -ltcl8.5

3- i execute make SRILM=/home/lenovo/Documents/srilm  World
 but i have this error : cc1plus: error: bad value (i686-m64) for -march= switch

can some one help me plz !! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20140127/c1577f1e/attachment.html>

More information about the SRILM-User mailing list