Hi, Running a 2.6.35 kernel, and gcc 4.4.5, I'm trying to build both an x86 (32) and an x86_64 external (out of tree) module from my x86 (32-bit) dev machine. I have tried various tricks, such as using ARCH=X86_64 when running make, but to no avail so far: Whatever I do, V=1 shows kbuild invoking gcc with -m32 and ld with elf_i386. I have googled around for a few hours without finding a solution to the problem. Since the x86 arch is unified and gcc is able to gen (and link) x86_64 targets, it looks like this could be done, and I must be missing something. Could anyone point me to the right direction? TIA! PhA. -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html