LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   arch - x86 or x86_64? (https://www.linuxquestions.org/questions/linux-kernel-70/arch-x86-or-x86_64-a-804928/)

Gerard Lally 04-29-2010 05:49 AM

arch - x86 or x86_64?
 
Hi
I updated Slackware (13 x86_64) kernel to vanilla 2.6.32.12 last night. echo $ARCH gives x86_64.
After extracting to a build directory in /home/$user/ and copying a generic config to .config I build the kernel like this - perhaps I am doing something wrong?

Code:

/home/user/kernel >$ make oldconfig
/home/user/kernel >$ make menuconfig
/home/user/kernel >$ make -j7
/home/user/kernel ># make modules_install
/home/user/kernel ># make install

The last step - make install - gives this output:

Code:

sh /home/user/kernel/linux-2.6.32.12/arch/x86/boot/install.sh \
  2.6.32.12-server arch/x86/boot/bzImage \
  System.map "/boot"

Shouldn't this be ../arch/x86_64/boot/.. instead?

H_TeXMeX_H 04-29-2010 03:19 PM

Nope, check the x86_64 directory, you'll see the reason, there's only a symlink in there. Either way you can run 'file' on the kernel to make sure it is 64-bit.

Gerard Lally 04-29-2010 07:00 PM

Quote:

Originally Posted by H_TeXMeX_H (Post 3952287)
Nope, check the x86_64 directory, you'll see the reason, there's only a symlink in there

Thank you very much. Living and learning as I go!


All times are GMT -5. The time now is 01:22 AM.