Subject:
|
Re: Brickos c++ threads problem
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 14 Feb 2006 15:56:15 GMT
|
Viewed:
|
10218 times
|
| |
| |
> I succeeded in writing, compiling and uploading c
> code.
> When I tried to convert the SAME program in c++
> (changing extension from .c to .cpp) and eventually
The h8300 gcc compiler is really buggy across different versions of
gcc/binutils. Using the wrong version of binutils/gcc with each other always
causes extremely strange problems on my RCX. Usually it will allow me to send
the firmware, but sending a lx program crashes everything.
Personally I use the following versions:
gcc 3.4.4
binutils 2.16.1
That has always solved weird brickos problems for me.
To get brickos to compile in gcc3+ you will need the gcc33 patch from:
http://hoenicke.ath.cx/rcx/brickOS.html
----
Matthew Ruschmann
http://matthew.ruschmann.net
|
|
Message is in Reply To:
| | Re: Brickos c++ threads problem
|
| (...) Danny, I've not used C++, but I have seen problems like this. For me, it happened when the firmware in my brick didn't match the firmware I compiled the program to use. However, it doesn't sound like that's the problem your having. I'd suggest (...) (19 years ago, 13-Feb-06, to lugnet.robotics.rcx.legos)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|