[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make-kpkg doesn't work properly when compiling i386 kernel on amd64 host

On 04/17/2013 12:44 PM, 曹思亮 wrote:
> Hello, I am trying to build a kernel for my i386 PC on a amd64 server.

You might also try to build it inside an i386 chroot-environment on your
amd64 server.

> I follow a old instrusion at
> http://lists.debian.org/debian-user/2008/07/msg00926.html . It can build
> the kernel itself correctly, but the problem is script tools such as
> genksyms are build as amd64 format.
> I notice that Linux Makefile mentions an environment variable named HOSTCC.
> I tried to set the variable, but it still failed because of linker issue.
> Can make-kpkg do this job correctly? What extra parameter I should add?

Unfortunately, I do not know.


Reply to: