|
I have following problem with setting up the rcx tools (the old ones,
distributed with legOS-0.1.7):
I set up the Makefile.common to properly point to my paths:
TOOLPREFIX=/home/erik/skusobna/mindstorm/usr/bin/h8300-hitachi-hms-
LEGOS_ROOT=/home/erik/skusobna/mindstorm/legOS-0.1.7/
when I run make I get tons of errors like this:
/home/erik/skusobna/mindstorm/usr/bin/h8300-hitachi-hms-gcc -O2
-fno-builtin -fo
mit-frame-pointer -Wall -Wno-unused -Wno-uninitialized
-I/home/erik/skusobna/min
dstorm/legOS-0.1.7/include -c demo/simple-rover.c -o demo/simple-rover.o
*Initialization*:1: warning: `__SIZE_TYPE__' redefined
*Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined
/tmp/ccqXCXoz.s: Assembler messages:
/tmp/ccqXCXoz.s:1: Error: no such 386 instruction: `gcc'
/tmp/ccqXCXoz.s:2: Error: no such 386 instruction: `by'
/tmp/ccqXCXoz.s:3: Error: no such 386 instruction: `release'
/tmp/ccqXCXoz.s:4: Error: Rest of line ignored. First ignored character
is `-'.
/tmp/ccqXCXoz.s:15: Error: invalid character '.' in opcode
/tmp/ccqXCXoz.s:16: Error: invalid character '.' in opcode
it looks like the assembler does not recogize the .s file, but when I
change PATH to point to 'as' included with rcx-tools everything works.
how can I configure the gcc in rcx-tools to use the rcx provided
assembler by default???
the problem is that after I change the path to point to rcx (hitachi)
'as' I can no longer compile the linux sources (in given session), so
the makefile does not work (I have to build firmdl etc. in separate
session.
thanks in advance.
erik
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|