This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: eglibc cross-compiling
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-help at sourceware dot org
- Cc: "Carlos O'Donell" <carlos at systemhalted dot org>,Christer Solskogen <christer dot solskogen at gmail dot com>
- Date: Sat, 1 Oct 2011 01:25:01 -0400
- Subject: Re: eglibc cross-compiling
- References: <j64bik$b6j$1@dough.gmane.org> <j65l5l$4j7$1@dough.gmane.org> <4E867CAE.1020303@systemhalted.org>
On Friday, September 30, 2011 22:36:30 Carlos O'Donell wrote:
> On 9/30/2011 7:59 PM, Christer Solskogen wrote:
> > On 30.09.11 14:49, Carlos O'Donell wrote:
> >> If this is a learning exercise then by all means please playing around
> >> and we'll be more than happy to help.
> >
> > Which remindes me: what is it the correct way?
> > Archlinux for instans use this:
> > linux-api-headers->glibc->binutils->gcc->binutils->glibc
>
> I don't know why you build binutils twice you normally don't need to.
>
> The full process is:
>
> binutils
> ->linux-api-headers
> ->gcc (basic)
> ->glibc (headers)
> ->gcc (with proper headers)
> ->glibc (full)
> ->gcc (full)
that gcc (basic) is really unnecessary and trivial to skip, and the glibc
(headers) can be skipped with some work (although it's not really useful
anymore).
embedded.gentoo.org/handbook/?part=1&chap=2#doc_chap3
-mike