Compilation problem with K6 bsp

John Pickwick john.pickwick at
Sun Sep 11 11:50:54 UTC 2005

Hi to all,
trying to compile the latest 4.6.4 package for my old but good K6 PC, I get 
the following error :

i386-rtems-gcc --pipe -DHAVE_CONFIG_H   -isystem 
../../../../pck6/lib/include -D
__RTEMS_INSIDE__     -mcpu=k6  -O4 -g -Wall -ansi -fasm  -o 
ender.o -c 
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
function '_Event_Surrender':
error: invalid lvalue in assignment
error: invalid lvalue in assignment
make[4]: *** [o-optimize/eventsurrender.o] Error 1
make[4]: Leaving directory 
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/tools/b-rtems/i386-rtems/c/pck6/exec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/tools/b-rtems/i386-rtems/c/pck6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/tools/b-rtems/i386-rtems/c'
make: *** [all-recursive] Error 1

The incriminated "-mcpu=" option appears in all the previous compilation 
lines but do not cause any error.

I'm using binutils 2.16 and gcc 4.0.0 and all available patches have been 

If anyone can help me, thanks,


Sharks are not evil, but snails and frogs can be. 

More information about the users mailing list