This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Problem building with 2.6 kernel headers


On Tuesday 22 March 2005 07:00 pm, Dan Kegel wrote:
> It's possible I've been doing it in the wrong order since
> day 1.  Guess I'll try installing the kernel headers afterwards
> and see what breaks.

ive never looked at how crosstool works (i just look when i need patches 
sometimes :D), but the way i've implemented it at Gentoo is:
 - emerge cross binutils
 - emerge cross gcc (C-only, static, most features disabled, etc...)
 - emerge linux-headers
 - emerge cross libc (uclibc/glibc)
 - emerge cross gcc (C/C++, all the fun stuff turned on)

with 2.6 headers, you need to execute `make prepare` to get all the good 
files/symlinks/etc... created for you, and that requires a cross gcc :(
-mike

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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