Compilation problem with K6 bsp

John Pickwick john.pickwick at free.fr
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 
o-optimize/eventsurr
ender.o -c 
../../../../../../rtems-4.6.4/c/src/../../cpukit/rtems/src/eventsurre
nder.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../../../../../../rtems-4.6.4/c/src/../../cpukit/rtems/src/eventsurrender.c: 
In
function '_Event_Surrender':
../../../../../../rtems-4.6.4/c/src/../../cpukit/rtems/src/eventsurrender.c:67:
error: invalid lvalue in assignment
../../../../../../rtems-4.6.4/c/src/../../cpukit/rtems/src/eventsurrender.c:99:
error: invalid lvalue in assignment
make[4]: *** [o-optimize/eventsurrender.o] Error 1
make[4]: Leaving directory 
`/usr/local/tools/b-rtems/i386-rtems/c/pck6/exec/rtem
s'
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 
applied.


If anyone can help me, thanks,

John.

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




More information about the users mailing list