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 / 3692
3691  |  3693
Subject: 
Re: NQC v. LegOS / size
Newsgroups: 
lugnet.robotics
Date: 
Fri, 12 Feb 1999 15:02:19 GMT
Original-From: 
Luis Villa <liv@[stopspam]duke.edu>
Viewed: 
2142 times
  
On Wed, 10 Feb 1999, Rick Kimball wrote:

It doesn't have to be complex math.  I had the same problem
using the modulo operator.  I did a little digging to figure
out why libgcc.a wasn't compiling properly.  It turns
out that if you add the -Dinhibit_libc to the CFLAGS in the
top level Makefile of gcc you should end up with a useable
h8300 libgcc.a.

CFLAGS=-g -O2 -Dinhibit_libc
              ^^^^^^^^^^^^^^
Edit the makefile and add the define as above. Remake everything
and you should be all set. Also, add libgcc.a when you link.
However, I'm doing this from memory so your mileage may vary.

BEAUTIFUL. I spent all of last night trying to figure out a) why make was
calling (and not finding) stdio.h and b) how I could make make realize
that I didn't care about libc. That did the trick... Thanks.
Luis

#######################################################################

"They call the faithful to their knees
to hear the softly spoken magic spell:"

"There's no place like home...
There's no place like home...
There's no place like home."

-Pink Floyd, Dark Side of the Moon
-Dorothy, The Wizard of Oz

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



Message is in Reply To:
  Re: NQC v. LegOS / size
 
(...) It doesn't have to be complex math. I had the same problem using the modulo operator. I did a little digging to figure out why libgcc.a wasn't compiling properly. It turns out that if you add the -Dinhibit_libc to the CFLAGS in the top level (...) (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
14 hours ago
Custom Search

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