To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 876
875  |  877
Subject: 
Re: Directions to compile GCC
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Feb 2000 18:58:44 GMT
Viewed: 
1237 times
  
On Mon, 28 Feb 2000, Bill Delaney wrote:
Jim Jackson <jjackson@jnjackson.com> :

Are you using gcc-2.95 or the earlier egcs? • GCC-2.95.2
What's your host machine?
--host=i586-pc-beos

I'm running an Intel Pentium (pre-MMX) and Linux and had to specify the
additional parameter:  --host=i586-pc-linux

Not sure whether BeOS is supported where linux is specified there.

This gave me the Idea to tell the configure that I was running a Linux box
(instead of a bebox)  It almost worked too.  At the end of the make the
machine says I have a compiler that doesn't work.  I am assuming this is
because of different bit sizes for BeOS and Hitachi variables.  Thanks for
the advice though!

This may not be the case- the cross-compiler will try to compile
something, but at least with the directions most of us use, there is no
standard C library created and so the compiler thinks it doesn't work.
The trick (then) is to use Markus's C library (which you can do with the
normal legOS install) to compile the program. If you could send the exact
message that you get about "the compiler doesn't work" I may be able to
diagnose that one more directly...
-Luis

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

     Profanity is the one language that all programmers understand.
                  -Anonymous

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



Message has 1 Reply:
  Re: Directions to compile GCC
 
Luis Villa <liv@duke.edu> : (...) box (...) for (...) Wow Thanks! Here is the error I am getting-> loading cache ./config.cache checking if compiler cc1obj has been built... yes checking for gcc... h8300-hitachi-hms-gcc checking whether the C (...) (25 years ago, 28-Feb-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Directions to compile GCC
 
Jim Jackson <jjackson@jnjackson.com> : (...) GCC-2.95.2 (...) --host=i586-pc-beos (...) This gave me the Idea to tell the configure that I was running a Linux box (instead of a bebox) It almost worked too. At the end of the make the machine says I (...) (25 years ago, 28-Feb-00, to lugnet.robotics.rcx.legos)

8 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
    

Custom Search

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