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 / 3710
3709  |  3711
Subject: 
Re: NQC v. LegOS / size
Newsgroups: 
lugnet.robotics
Date: 
Fri, 12 Feb 1999 19:28:11 GMT
Original-From: 
John A. Tamplin <jat@traveller.com=StopSpammers=>
Viewed: 
2510 times
  
On Wed, 10 Feb 1999, Gavin Smyth wrote:

The maths routines are somewhere in libgcc.a, though I think there's a
single file with all the routines instead of several small ones, so you may
end up wasting memory. In addition, you probably need to access libc.a too
since some of the libgcc.a routines use, say, memcpy. (It may be possible to
inline some of the offending routines by specifying higher optimisation
levels to the compiler, "-O3" say, but I haven't tried this.) Anyway, when
building legOS things, I think a couple of options are: find the libgcc
source and copy the bits you need into your own files; or add the two
libraries I mentioned above to the link statement in the make file.

No, they are not in one object file.  They are in a single source file,
but if you look at the build process it defines a symbol like L_cmpsi3
and compiles/assembles it separately for each function.

John A. Tamplin Traveller Information Services
jat@Traveller.COM 2104 West Ferry Way
256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message is in Reply To:
  Re: NQC v. LegOS / size
 
The maths routines are somewhere in libgcc.a, though I think there's a single file with all the routines instead of several small ones, so you may end up wasting memory. In addition, you probably need to access libc.a too since some of the libgcc.a (...) (26 years ago, 10-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
13 hours ago
Custom Search

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