[linux-audio-dev] Cross compiling the kernel

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Thu Dec 08 2005 - 20:46:16 EET

Hello,

All I am trying to do is compile an x86_64 kernel on i386 machine. It
dos not work:

$ ARCH=x86_64 make oldconfig

<no errors>

$ ARCH=x86_64 make
  CHK include/linux/version.h
  SPLIT include/linux/autoconf.h -> include/config/*
  CC arch/x86_64/kernel/asm-offsets.s
arch/x86_64/kernel/asm-offsets.c:1: error: code model 'kernel' not
supported in the 32 bit mode
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

What gives? Do I need a different compiler to build for x86_64?
Shouldn't this Just Work?

Lee
Received on Fri Dec 9 00:15:05 2005

This archive was generated by hypermail 2.1.8 : Fri Dec 09 2005 - 00:15:05 EET