[TriLUG] Cross Architecture Kernel Compilation

Mike Mueller mjm-58 at mindspring.com
Fri Dec 20 13:07:17 EST 2002


On Friday 20 December 2002 10:50, Ken Mink wrote:
> The question is how do you setup the libraries and include
> directories to be able to compile the kernel for another architecture?

man gcc describes the -nostdinc and -nostdlib options.  Using these will 
cause compile failures and expose where you must supply distinct paths to 
include files and libraries in a subsequent re-compile.  Now you are free to 
locate the include files and libraries whereever you choose.

Are you using gcc as a cross compiler?  Are you using the -b option?  If so 
what argument value?

-- 
mueller, mike



More information about the TriLUG mailing list