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

Re: proper generic 64bit/crosscompilation ARCH/flags selection

Eduard Bloch <edi@gmx.de> writes:

> Hello,
> I would like to get more competent comments from concerned kernel
> packages on the issue quoted below. There is already a hack for sparc64:

I'm not sure this answeres your problem but in recent kernels the
kernel adds the -m64 flag for amd64 automaticaly. The same should
happen for all other multiarch archs for both -m32 and -m64 as needed.

I also send in a patch for make-kpkg (applied in sid) for multiarch
cross-compile support using --arch <arch> --cross-compile '-'. This
tells make-kpkg to build for the arch but still use the normal "gcc"
instead of defaulting to "arch-os-gnu-gcc" as with other

Those two combined make building a kernel for "the other" arch of a
system simple.


Reply to: