Subject:
|
Re: IR Tower
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 23 Dec 1998 17:17:56 GMT
|
Original-From:
|
dave madden <dhm@paradigm.webvision.&stopspam&com>
|
Viewed:
|
1388 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
=>From: Ben Laurie <ben@algroup.co.uk>
=>...
=>legOS doesn't run the static [C++] constructors/destructors. I
=>think. Yet. So C++ may not work as expected. There's also
=>something weird going on still with memory layout.
I can handle the c/dtors, but I could use a pointer to a simple memory
map (e.g. ROM is 0x1111 to 0x2222; Flash is 0x3333 to 0x4444, RAM is
0x5555 to 0x6666; addr 0x7777 controls the frobblewitz; ...). I'm
sure I can get it from a combination of code spelunking and
experiment, but if somebody has prepared one...
=>BTW, do you have instructions for getting egcs working? I tried but it
=>didn't work, and ended up with gcc instead...
I just configured as described in Markus' web pages:
./configure --prefix=/usr/local --target=h8300-hitachi-hms
and ran a make. Several things failed -- fortran was the big one,
IIRC -- but the C and C++ compiler passes were left in the gcc
directory, so I just copied them where they needed to go and fiddled
around with support files until everything worked. EGCS has a
monolithic build that I don't understand well; I'm sure there's an
easier way to tell it to only build C and C++, but I don't know what
it is. Anyway, if anybody's interested, I can pack up the cross
compiler tree and put it up for FTP... I always install big packages
entirely under /usr/local/packages/some-package-name, so it's easy to
pack, easy to install, and easy to delete when you decide you don't
want it.
d.
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: IR Tower
|
| (...) Look at the Hitachi H8/3292 documentation -- it has all of that for you. Briefly, ROM is 0x0000-3FFF, external address space is 0x8000-0xFB7F, internal RAM is 0xFD80-0xFF7F, external address space is 0xFF80-0xFF87, and the peripheral register (...) (26 years ago, 23-Dec-98, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | Re: IR Tower
|
| (...) legOS doesn't run the static constructors/destructors. I think. Yet. So C++ may not work as expected. There's also something weird going on still with memory layout. BTW, do you have instructions for getting egcs working? I tried but it didn't (...) (26 years ago, 23-Dec-98, to lugnet.robotics)
|
12 Messages in This Thread: ![IR Tower -lego-robotics@crynwr.com (dave madden) (22-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: IR Tower -Jim Wood (22-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: IR Tower -lego-robotics@crynwr.com (Ian Hall-Beyer) (22-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: IR Tower -Dave Baum (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: IR Tower -Peter Hesketh (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: IR Tower -Dave Baum (24-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: IR Tower -lego-robotics@crynwr.com (dave madden) (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: IR Tower -lego-robotics@crynwr.com (Ben Laurie) (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: IR Tower -lego-robotics@crynwr.com (John A. Tamplin) (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: IR Tower -lego-robotics@crynwr.com (dave madden) (23-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: IR Tower -lego-robotics@crynwr.com (Ben Laurie) (24-Dec-98 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|