Re: Compiling an i386 kernel on AMD Opteron

From: Mikael Pettersson
Date: Thu Sep 04 2003 - 13:54:33 EST


Stephan von Krawczynski writes:
> On Thu, 4 Sep 2003 12:15:17 +0200
> Mikael Pettersson <mikpe@xxxxxxxxx> wrote:
>
> > Stephan von Krawczynski writes:
> > > Hello,
> > >
> > > is it possible to compile a kernel on Opteron for i386 (32-bit) and not 64
> > > bit Opteron with usual make procedures?
> > >
> > > When I do a simple "make menuconfig" I can only see the Opteron processor
> > > type in "Processor type and features" ...
> >
> > You need to learn about cross-compilation.
>
> Do you really call it cross-compilation if you are working on a 32-bit linux
> (Opteron driven) and try to compile a new kernel for the very same box?

Not if you're running a 32-bit kernel on the Opteron, but your statement above,
> > > When I do a simple "make menuconfig" I can only see the Opteron processor
> > > type in "Processor type and features" ...
indicated (to me at least) that you were running a 64-bit kernel.

What does `uname -m' say?

make mrproper and try again?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/