Hello, I am trying to build a kernel for my i386 PC on a 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?

