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 / 1604
1603  |  1605
Subject: 
Re: problems building crosscompiler with gcc2.95.2
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 8 Jan 2001 20:01:42 GMT
Viewed: 
1307 times
  
Michael Wisse <mwisse@hs-harz.de> writes:

I changed the Makefile-line " CFLAGS = -g -O2 -Dinhibit_libc" and tried
to build the cross compiler with
"  make cross LANGUAGES="c c++"  ".

gcc uses a different method for this than egcs did.

When configuring the gcc cross-compiler, add the option
"--with-newlib". This will do the inhibit libc things. You don't have
to edit the Makefile afterwards.

After that, just follow the other instructions in the legOS HOWTO.


Greetings,

Tomas



Message has 1 Reply:
  Re: problems building crosscompiler with gcc2.95.2
 
Hallo! (...) Thanks, but this was not all. I had to download newlib and then in gcc-2.95.2/ add the links: ln -s ../newlib-1.9.0/newlib newlib ln -s ../newlib-1.9.0/libgloss libgloss Then reconfigure with additional option --with-headers and make. (...) (24 years ago, 11-Jan-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  problems building crosscompiler with gcc2.95.2
 
Hallo ! I need C++ support, that's why I want to build a crosscompiler with gcc instead of older egcs (like discribed in LegOS howto). I use suse linux 6.4 and downloaded binutils2.10.1 and gcc2.95.2. Building of binutils2.10.1 worked fine on my (...) (24 years ago, 8-Jan-01, to lugnet.robotics.rcx.legos)

5 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