= How to confirm Kernel is support 64bit CPU = '''Author: Che-Yuan Tu''' 從 32 位元升級到 64 位元,Linux Kernel 重編需注意的地方與部份 lib64xxx 需要升級 * [結論] 參考設定下載 * 今天編的 kernel 2.6.20 32 位元 * lsi 學長之前在 Fedora Core 7 的 kernel 2.6.22 64 位元的 kernel config file. * 64位元 linux_kernel key point * x86 64 支援 * highmem 支援 * elf32 模擬支援 * ia32 模擬支援 * lib64xxx 視需求而安裝 (以Linux krg-server 2.6.20-krg為例) * lib64asound2 - ALSA library (64 bit) * lib64asound2-dev - ALSA library development files (64 bit) * lib64bz2-1.0 - high-quality block-sorting file compressor library - 64bit runtime * lib64bz2-dev - high-quality block-sorting file compressor library - 64bit development * lib64ffi4 - Foreign Function Interface library runtime (64bit) * lib64g2c0 - Runtime library for GNU Fortran 77 applications (64bit) * lib64gcc1 - GCC support library (64bit) * lib64gfortran1 - Runtime library for GNU Fortran applications (64bit) * lib64mudflap0 - GCC mudflap shared support libraries (64bit) * lib64ncurses5 - Shared libraries for terminal handling (64-bit) * lib64ncurses5-dev - Developer's libraries for ncurses (64-bit) * lib64objc1 - Runtime library for GNU Objective-C applications (64bit) * lib64readline5 - GNU readline and history libraries, run-time libraries (64-bit) * lib64readline5-dev - GNU readline and history libraries, development files (64-bit) * lib64ssp0 - GCC stack smashing protection library (64bit) * lib64stdc++6 - The GNU Standard C++ Library v3 (64bit) * lib64stdc++6-4.1-dbg - The GNU Standard C++ Library v3 (debugging files) * lib64z1 - compression library - 64 bit runtime * lib64z1-dev - compression library - 64 bit development * libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64 * 開啟 64 Support options for example {{{ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.18-1.2257 # Mon Jan 14 20:30:31 2008 # CONFIG_X86_64=y CONFIG_64BIT=y CONFIG_X86=y # Executable file formats / Emulations # CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=m CONFIG_IA32_EMULATION=y CONFIG_IA32_AOUT=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y }}} 最後感謝阿德學長提供許多寶貴意見!!