* [gentoo-user] kernel cross compilation
@ 2009-06-27 17:33 David Relson
2009-06-27 18:13 ` Dirk Heinrichs
0 siblings, 1 reply; 4+ messages in thread
From: David Relson @ 2009-06-27 17:33 UTC (permalink / raw
To: gentoo-user
My workstation is an AMD64 and I want to build a 486 kernel. I've
tried oldconfig, menuconfig, and xconfig and they all change
the .config from X86_32 to X86_64. How do I stop this behavior?
FWIW, below is a partial diff between the 486 .config and the new
config.
Thanks.
David
root@osage linux # diff -u .config.old .config
--- .config.old 2009-04-15 18:47:58.000000000 -0400
+++ .config 2009-06-27 13:26:53.000000000 -0400
@@ -1,18 +1,19 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.27
-# Wed Apr 15 18:47:58 2009
+# Linux kernel version: 2.6.27.25
+# Sat Jun 27 13:26:53 2009
#
-# CONFIG_64BIT is not set
-CONFIG_X86_32=y
-# CONFIG_X86_64 is not set
+CONFIG_64BIT=y
+# CONFIG_X86_32 is not set
+CONFIG_X86_64=y
CONFIG_X86=y
-CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
+CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
# CONFIG_GENERIC_LOCKBREAK is not set
...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kernel cross compilation
2009-06-27 17:33 [gentoo-user] kernel cross compilation David Relson
@ 2009-06-27 18:13 ` Dirk Heinrichs
2009-06-27 22:21 ` David Relson
2009-06-28 9:47 ` Xavier Parizet
0 siblings, 2 replies; 4+ messages in thread
From: Dirk Heinrichs @ 2009-06-27 18:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
Am Samstag 27 Juni 2009 19:33:48 schrieb David Relson:
> My workstation is an AMD64 and I want to build a 486 kernel. I've
> tried oldconfig, menuconfig, and xconfig and they all change
> the .config from X86_32 to X86_64. How do I stop this behavior?
make CROSS_COMPILE=i686-pc-linux-gnu- ARCH=i386 ...
HTH...
Dirk
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kernel cross compilation
2009-06-27 18:13 ` Dirk Heinrichs
@ 2009-06-27 22:21 ` David Relson
2009-06-28 9:47 ` Xavier Parizet
1 sibling, 0 replies; 4+ messages in thread
From: David Relson @ 2009-06-27 22:21 UTC (permalink / raw
To: gentoo-user; +Cc: dirk.heinrichs
On Sat, 27 Jun 2009 20:13:25 +0200
Dirk Heinrichs wrote:
> Am Samstag 27 Juni 2009 19:33:48 schrieb David Relson:
> > My workstation is an AMD64 and I want to build a 486 kernel. I've
> > tried oldconfig, menuconfig, and xconfig and they all change
> > the .config from X86_32 to X86_64. How do I stop this behavior?
>
> make CROSS_COMPILE=i686-pc-linux-gnu- ARCH=i386 ...
>
> HTH...
>
> Dirk
Exactly the sort of answer I wanted.
Thanks, Dirk.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kernel cross compilation
2009-06-27 18:13 ` Dirk Heinrichs
2009-06-27 22:21 ` David Relson
@ 2009-06-28 9:47 ` Xavier Parizet
1 sibling, 0 replies; 4+ messages in thread
From: Xavier Parizet @ 2009-06-28 9:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
Dirk Heinrichs a écrit :
> Am Samstag 27 Juni 2009 19:33:48 schrieb David Relson:
>> My workstation is an AMD64 and I want to build a 486 kernel. I've
>> tried oldconfig, menuconfig, and xconfig and they all change
>> the .config from X86_32 to X86_64. How do I stop this behavior?
>
> make CROSS_COMPILE=i686-pc-linux-gnu- ARCH=i386 ...
Try also linux32 command from sys-apps/util-linux .
> HTH...
>
> Dirk
--
Xavier Parizet
YaGB : http://gentooist.com
GPG : DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-28 9:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-27 17:33 [gentoo-user] kernel cross compilation David Relson
2009-06-27 18:13 ` Dirk Heinrichs
2009-06-27 22:21 ` David Relson
2009-06-28 9:47 ` Xavier Parizet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox