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

Re: Building a 64-bit module on i386



#include <hallo.h>
* Shaun Jackman [Fri, Sep 30 2005, 01:44:22PM]:
> I'm running the Debian i386 architecture with an amd64-k8 kernel. To
> compile a kernel module two Makefile variables must be set:
> ARCH=x86_64 CC='gcc-3.4 -m64'. I've tried setting these as environment
> variables, and I've tried hacking them into various source files, but
> they inevitably get overwritten when, I'm presuming, the module source
> is freshly unpacked for each module-assistant call. How can I pass
> these arguments to module-assistant?

Pure guess:
export MAKEFLAGS="ARCH=x86_64" CC=gcc-3.4 CFLAGS=-m64"

Eduard.
-- 
Lennier: They trained you well on Minbar.
Marcus Cole: They said I had a lot of repressed anger.
Lennier: And?
Marcus Cole: I'm not repressed anymore!
                                                 -- Quotes from Babylon 5 --



Reply to: