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 / 1379
1378  |  1380
Subject: 
Re: GCC - Cross-compiler
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 16 Aug 2000 21:00:08 GMT
Viewed: 
1188 times
  
Sorry I've been out of the loop for so long, guys... I'm moving tomorrow,
so I've been packing and such.

On Wed, 16 Aug 2000, Paolo Masetti wrote:
RCX_COMPILER is an internal gcc/egcs define, when patched correctly to
support RCX interrupts. This is still used and useful, as it saves only
the required registers, unlike the HANDLER_WRAPPER macro, which saves
all volatile registers.

Do you know if RCX_COMPILER patch need to be used in GCC 2.95.2 cross
compiler too?

If you don't find it defined in gcc-2.95.2/config/h8300/*, then yes.

Some (good!) news:

1) I've compiled gcc-2.95.2 for h8300-hitachi-hms using cygnwin and it
works. :-)

cool. Which Cygwin, though? It'd be really nice if we could "move up" to
Cygwin 1.0, which is a lot easier to install than the beta version we use.

3) I'm still gettind some warnings (but it works well, does some
warnings appear on Linux too?)

At least in the old compiler, yes. No idea if 2.95 for Linux generates
errors or not. You can look in the HOWTO to see which errors "should" be
generated- I'd assume that they are similar for 2.95.

4) I've patched for RCX_COMPILER and it works too! :-)

Cool.

I will partially rewrite the Windows how-to to include gcc-2.95.2
compiler (and eventually precompiled binaries).

Cool.

BTW anyone needs precompiled h8300-hitachi-hms gcc 2.95.2 for
Windows/cygnwin? :-)

Thankgfully, no- since I'm moving back home, and going back to Linux full
time, I deleted Cygwin and everything else off of my mother's computer
yesterday.

We can definitely post the new stuff on sourceforge- just give the word.
Luis

-----------------------------------------------------------------------

    "Summertime... and the living is easy...
    fish are jumping and the cotton is high...
    So hush, little baby, baby don't you cry."
-Ella

-----------------------------------------------------------------------



Message has 2 Replies:
  Re: GCC - Cross-compiler
 
(...) CygnWin 1.1 (latest). :-) (...) Not really important if it works, just curiosity... ;-) (...) :-) Cool... ;-))) (...) First, I would like my name corrected in /HOWTO... ;-))) Massetti --> Masetti... ;-))) Bye, Paolo. --- Press to test. Release (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.legos)
  Re: GCC - Cross-compiler
 
(...) Yes, there are some warnings during the compile. I'm at work, so I can't interrogate my make log, but the only big one is the one about libc, which is documented in the HOWTO. Regards, ROSCO (24 years ago, 17-Aug-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  GCC - Cross-compiler
 
(...) Some (good!) news: 1) I've compiled gcc-2.95.2 for h8300-hitachi-hms using cygnwin and it works. :-) 2) I'm working to a script to automate the process 3) I'm still gettind some warnings (but it works well, does some warnings appear on Linux (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.legos)

10 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