Subject:
|
Re: NQC v. LegOS / size
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 10 Feb 1999 14:20:13 GMT
|
Original-From:
|
Markus L. Noga <NOGA@nomorespamINRIALPES.FR>
|
Viewed:
|
2041 times
|
| |
| |
Hi John,
"John A. Tamplin" wrote:
> In most cross-compilers, there is assembly code for those helper
> functions. In EGCS, those are in config/h8300/lib1funcs.asm.
> It calls __divhi3, which is defined in config/h8300/lib1funcs.asm. I
> built egcs-1.1.1 without any changes (that I remember :), and it put
> those in libgcc1.a, which then gets merged into libgcc.a. In addition
> to the 16-bit routines your example uses, it also has 32-bit multiply and
> divide functions (__mulsi3, etc). I don't have it still around, but I am
> pretty sure egcs-1.1a also properly handled this. I have not ever built
> gcc 2.8 or egcs-1.1 as a cross compiler for the H8, so if you are using
> one of those it may not have the helper functions.
I'm currently working on compiler details with Chris. He sent me some
patches to produce cleaner code for ROM calls (register allocation
issues), and after we have consolidated these, there'll be both patches
and binary releases for Linux and Windows available.
This will probably be based on egcs-1.1.1 to circumvent the library
problems present in gcc and egcs-1.1.
Markus.
--
Markus L. Noga noga@inrialpes.fr
Check out legOS! http://www.multimania.com/legos/
"He who quote merely employs his memory, not his reason." -Nietzsche
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: | | Re: NQC v. LegOS / size
|
| (...) I had started to do that, but then I decided that was way too much work for what I have time for, with little benefit. I assume you are changing the target name to something like h8300-hitachi-rcx and setting it up properly for configure? If (...) (26 years ago, 10-Feb-99, to lugnet.robotics)
|
Message is in Reply To:
| | Re: NQC v. LegOS / size
|
| (...) In most cross-compilers, there is assembly code for those helper functions. In EGCS, those are in config/h8300/lib1funcs.asm. (...) It calls __divhi3, which is defined in config/h8300/lib1funcs.asm. I built egcs-1.1.1 without any changes (that (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
|
23 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
|
|
|
Active threads in Robotics
|
|
|
|