cc -c -O2 -march=pentium-m -pipe -fomit-frame-pointer -o lrmi.o lrmi.c {standard input}: Assembler messages: {standard input}:712: Error: suffix or operands invalid for `mov' {standard input}:723: Error: suffix or operands invalid for `mov' make: *** [lrmi.o] Error 1 I think the cause of this error is Using "movl" while the destination operand is %gs Insteadof "movl", "movw" should be used here I created a patch which can make lrmi compiles using gcc4.1
Created attachment 77626 [details, diff] make lrmi-0.9 compiles using gcc 4.1
Not a problem with gcc-4.1 You are probably using a -* binutils. Here is the upstream fix: http://cvs.sourceforge.net/viewcvs.py/lrmi/lrmi/lrmi.c?r1=1.12&r2=1.13&diff_format=u
(In reply to comment #2) > Not a problem with gcc-4.1 You are probably using a -* binutils. Here is the > upstream fix: > > http://cvs.sourceforge.net/viewcvs.py/lrmi/lrmi/lrmi.c?r1=1.12&r2=1.13&diff_format=u > Thanks for point this out