| | problems building crosscompiler with gcc2.95.2 Michael Wisse
|
| | 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)
|
| | |
| | | | Re: problems building crosscompiler with gcc2.95.2 Tomas Berndtsson
|
| | | | (...) 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 (...) (24 years ago, 8-Jan-01, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: problems building crosscompiler with gcc2.95.2 Michael Wisse
|
| | | | | 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)
|
| | | | | |
| | | | | | | Re: problems building crosscompiler with gcc2.95.2 Tomas Berndtsson
|
| | | | | (...) I didn't have to do this. All I downloaded was binutils 2.10.1 and gcc 2.95.2, and followed the instructions in the legOS HOWTO, except for the difference between egcs and gcc I wrote. This was on a LinuxPPC, not sure if gcc behaves (...) (24 years ago, 11-Jan-01, to lugnet.robotics.rcx.legos)
|
| | | | | |
| | | | Re: problems building crosscompiler with gcc2.95.2 Rossz Vámos-Wentworth
|
| | | | (...) It's not important. We don't use those libraries. (...) Include '-i' (must be lowercase) in your command line to get MAKE to ignore errors and continue with the build. make -i cross LANGUAGES="c c++" Rossz (24 years ago, 8-Jan-01, to lugnet.robotics.rcx.legos)
|
| | | | |