Compil a 32bits kernel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've compil a 2.6.9 vanilla's kernel on AMD 3000+ without problem. Now, i'm searching for compiling the same kernel but for i386 # make menuconfig ARCH=i386 // Modification for x86 support in the kernel config # make ARCH=i386 cc1: error: CPU you selected does not support x86-64 instruction set cc1: error: CPU you selected does not support x86-64 instruction set make[2]: *** [scripts/mod/empty.o] Erreur 1 make[1]: *** [scripts/mod] Erreur 2 make: *** [scripts] Erreur 2 Is it possible to compil a 32bits kernel in an 64 bits OS :( Regards Franck -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBoICZ1zwfep5k9qERAtWhAKC1rrdyvAJzeOdsfzOwBRTn6EQ2vQCgmF43 6hpTTBahRfmOzX2nIpX9G4g= =rxnY -----END PGP SIGNATURE-----
I've compil a 2.6.9 vanilla's kernel on AMD 3000+ without problem. Now, i'm searching for compiling the same kernel but for i386
# make menuconfig ARCH=i386 // Modification for x86 support in the kernel config # make ARCH=i386
Use make ARCH=i386 CC="gcc -m32" -Andi
I've compil a 2.6.9 vanilla's kernel on AMD 3000+ without problem. Now, i'm searching for compiling the same kernel but for i386
# make menuconfig ARCH=i386 // Modification for x86 support in the kernel config # make ARCH=i386
Use make ARCH=i386 CC="gcc -m32"
Thanks, i'm testing tonight :) If you've anothers tips, it will great :) Regards Franck
participants (2)
-
Andi Kleen
-
Franck