| | | | |
| |
| Hi,
I have been trying to get brickos to compile on my linux machine. I followed
the instructions here:
http://did.mat.uni-bayreuth.de/~matthias/veranstaltungen/ws2004/mindstorms/doc/brickos-howto.html
I used binutils version 2.16.1, and gcc version 4.0.2.
The cross compile seemed to work. However, when I try to compile brickos, I get
the following error. Should I try a earlier version of binutils? What is the
recomended gcc and binutils versions? Thanks for any help.
PS: What is the official/proper way to build the cross compiler? If I use the
regular "make install" with the /usr prefix, will it overwrite and files
belonging to the native gcc already installed? I would like to know, because I
am thinking of making a gcc-h8300-hms, binutils-h8300-hms, and brickos package
for arch linux.
/usr/local/H8300/bin/h8300-hms-as expandsf.s -o expandsf.o
expandsf.s: Assembler messages:
expandsf.s:121: Warning: mismatch between opcode size and operand size
/usr/local/H8300/bin/h8300-hms-as joinsf.s -o joinsf.o
joinsf.s: Assembler messages:
joinsf.s:200: Warning: mismatch between opcode size and operand size
/usr/local/H8300/bin/h8300-hms-as addsf3.s -o addsf3.o
addsf3.s: Assembler messages:
addsf3.s:187: Warning: mismatch between opcode size and operand size
/usr/local/H8300/bin/h8300-hms-as negsf2.s -o negsf2.o
/usr/local/H8300/bin/h8300-hms-as mulsf3.s -o mulsf3.o
/usr/local/H8300/bin/h8300-hms-as divsf3.s -o divsf3.o
/usr/local/H8300/bin/h8300-hms-as floatsisf.s -o floatsisf.o
floatsisf.s: Assembler messages:
floatsisf.s:138: Warning: mismatch between opcode size and operand size
/usr/local/H8300/bin/h8300-hms-as cmpsf2.s -o cmpsf2.o
/usr/local/H8300/bin/h8300-hms-as fixsfsi.s -o fixsfsi.o
fixsfsi.s: Assembler messages:
fixsfsi.s:195: Error: invalid operands
make[2]: *** [fixsfsi.o] Error 1
make[2]: Leaving directory `/usr/local/src/brickos-0.2.6.10.6/lib/float'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/brickos-0.2.6.10.6/lib'
make: *** [all] Error 2
| | | | | | | | | | | | |
| |
| In lugnet.robotics.rcx.legos, Kyle Husmann wrote:
> Hi,
> I have been trying to get brickos to compile on my linux machine. I followed
> the instructions here:
> http://did.mat.uni-bayreuth.de/~matthias/veranstaltungen/ws2004/mindstorms/doc/brickos-howto.html
>
> I used binutils version 2.16.1, and gcc version 4.0.2.
>
> The cross compile seemed to work. However, when I try to compile brickos, I get
> the following error. Should I try a earlier version of binutils? What is the
> recomended gcc and binutils versions? Thanks for any help.
>
> PS: What is the official/proper way to build the cross compiler? If I use the
> regular "make install" with the /usr prefix, will it overwrite and files
> belonging to the native gcc already installed? I would like to know, because I
> am thinking of making a gcc-h8300-hms, binutils-h8300-hms, and brickos package
> for arch linux.
>
> /usr/local/H8300/bin/h8300-hms-as expandsf.s -o expandsf.o
> expandsf.s: Assembler messages:
> expandsf.s:121: Warning: mismatch between opcode size and operand size
> /usr/local/H8300/bin/h8300-hms-as joinsf.s -o joinsf.o
> joinsf.s: Assembler messages:
> joinsf.s:200: Warning: mismatch between opcode size and operand size
> /usr/local/H8300/bin/h8300-hms-as addsf3.s -o addsf3.o
> addsf3.s: Assembler messages:
> addsf3.s:187: Warning: mismatch between opcode size and operand size
> /usr/local/H8300/bin/h8300-hms-as negsf2.s -o negsf2.o
> /usr/local/H8300/bin/h8300-hms-as mulsf3.s -o mulsf3.o
> /usr/local/H8300/bin/h8300-hms-as divsf3.s -o divsf3.o
> /usr/local/H8300/bin/h8300-hms-as floatsisf.s -o floatsisf.o
> floatsisf.s: Assembler messages:
> floatsisf.s:138: Warning: mismatch between opcode size and operand size
> /usr/local/H8300/bin/h8300-hms-as cmpsf2.s -o cmpsf2.o
> /usr/local/H8300/bin/h8300-hms-as fixsfsi.s -o fixsfsi.o
> fixsfsi.s: Assembler messages:
> fixsfsi.s:195: Error: invalid operands
> make[2]: *** [fixsfsi.o] Error 1
> make[2]: Leaving directory `/usr/local/src/brickos-0.2.6.10.6/lib/float'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/brickos-0.2.6.10.6/lib'
> make: *** [all] Error 2
Hi again,
I've got it working now, thanks to help from Jochen Hoenicke and Peter Gammie.
I've posted my notes on the process here, if anyone is interested:
http://home.comcast.net/~kyle-violin/linux/brickos/howto.html
However, now I've got a new problem... Everything was working great for about a
day, but now whenever I try to download firmware, I get a no response from rcx
error even though it is on, and the firmware has been reset. I think my serial
ir tower is broken :(
Thanks,
-Kyle
| | | | | | |