To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 3618
3617  |  3619
Subject: 
Re: NQC v. LegOS / size
Newsgroups: 
lugnet.robotics
Date: 
Wed, 10 Feb 1999 03:26:24 GMT
Original-From: 
dave madden <dhm@paradigm.STOPSPAMMERSwebvision.com>
Viewed: 
1710 times
  
=>From: "John A. Tamplin" <jat@Traveller.COM>
=>...
=>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 stand corrected...those functions *are* there.  I don't know why my
libgcc didn't get installed...perhaps it was:

=>Did you configure it as a cross compiler (setting --target h8300-hitachi-hms
=>and --host to whatever your host platform is)?

I think I only set --target...maybe it didn't fully understand that I
wanted to make a cross compiler.  I'll fiddle with it again one of
these days...

d.
--
Did you check the web site first?: http://www.crynwr.com/lego-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
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
14 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR