Subject:
|
Re: problems building crosscompiler with gcc2.95.2
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 11 Jan 2001 11:53:56 GMT
|
Viewed:
|
1480 times
|
| |
| |
Hallo!
> >
> 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.
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.
Tomas Berndtsson schrieb:
>
> 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
Michael Wisse
Hochschule Harz
Fachbereich Automatisierung und Informatik
D-38855 Wernigerode
|
|
Message has 1 Reply:
Message is in Reply To:
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
|
|
|
|