This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eglibc cross-compiling


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)

Which might solve your problem with headers.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]