x86_64 Target Specific Information
Status as of 12/06/2012
Kernel build works and runs - please test!
cd targets/x86_64_tiny make kernel-build test
- Installed native GCC compiler in $PATH (usual kernel dependencies)
Using the llvmlinux project
If you have not already done so, clone the llvmlinux project:
Now make the x86_64_tiny target
cd llvmlinux/targets/x86_64_tiny make kernel-build test
once this works, you can try out the bigger "x86_64" target
cd llvmlinux/targets/x86_64 make kernel-build
You can install and boot it.
The Makefile will build all the prerequisites (LLVM, Clang), download the kernel, apply the patch for LLVM compatibility, copy a tested config file and build the kernel.
To use a prebuilt version of Clang, modify llvmlinux/config/make-kernel.sh
The config file for x86_64 is in llvmlinux/targets/x86_64/config_x86_64.
Testing the built kernel
cd llvmlinux/target/x86_64/src/linux sudo make modules_install sudo make install
Boots on x86_64 laptop currently.