[SRILM User List] Compiling srilm
Sylvain Raybaud
sylvain.raybaud at crans.org
Wed Sep 23 01:15:43 PDT 2009
On Wednesday 23 September 2009 09:52:32 Paul Johnston wrote:
> Hi on my first attempt to build srilm version 1.5.9
>
> I get lots of messages like
>
>
>
> gcc -mtune=pentium3 -Wreturn-type -Wimplicit -Wimplicit-int
> -D_FILE_OFFSET_BITS=64 -I. -I../../include -c -g -O3 -o
> ../obj/i686/option.o option.c
>
> option.c:1: error: CPU you selected does not support x86-64 instruction
> set
>
>
>
> Therefore make World fails, looking into it, the return value of
> machine-type is
>
> >/home/CO/mcasspj/srilm_dir/sbin/machine-type
>
> i686
>
>
>
> And the actual machine is
>
>
>
> uname -a
>
> Linux servalan.humanities.manchester.ac.uk 2.6.18-128.el5 #1 SMP Wed Dec
> 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> More specifically
>
>
>
> cat /etc/redhat-release
>
> Red Hat Enterprise Linux Server release 5.3 (Tikanga)
>
>
>
> Anyone seen this and have any ideas as to solving the problem?
>
> As I intend to build a machine dedicated to this system can anyone
> recommend a system they use i.e. Solaris, any of the BSDs or a variety
> of Linux just not Windows or a Mac :-)
>
>
>
> Many thanks!
>
Hello
I modified sbin/machine-type and added a common/Makefile.machine.x86_64-gcc4
so that it compiles for 64 bits. It works on my machine, no guarantee it will
work anywhere else... You will find them attached. Hope this helps.
regards,
--
Sylvain
A: You see !
> Q: You think ?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: machine-type
Type: application/x-shellscript
Size: 4126 bytes
Desc: not available
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20090923/7b171c67/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.machine.x86_64-gcc4
Type: text/x-makefile
Size: 1744 bytes
Desc: not available
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20090923/7b171c67/attachment-0001.bin>
More information about the SRILM-User
mailing list