Subject:
|
Re: IR Tower
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 23 Dec 1998 17:17:56 GMT
|
Original-From:
|
dave madden <DHM@PARADIGMstopspammers.WEBVISION.COM>
|
Viewed:
|
1931 times
|
| |
 | |
=>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:  | | 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:
 | | 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:   
  
      
             
- 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
|
|
|
|