Configuring and building the kernel using clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get up to speed with Linux kernel development and have a
few questions:

1. According to the book I'm reading (_Linux Kernel Development_ by
Robert Love) the current kernel's configuration can be found at
/proc/config.gz. But on Fedora, that's not the case, and it's in /boot/
as config-{VERSION}. How do I use this in the same way that I would have
used /proc/config.gz?

2. On the kernel-janitors mailing list I asked how to get started, and
was recommended to use clang to build the kernel and submit patches to
fix errors reported. Has anybody successfully built the kernel usin
clang packaged for Fedora? If so, how? I tried:

make cc=clang

and the build immediately failed on inline assembler code. I'd
appreciate a recommendation on how to approach building that way.

Thanks in advance.

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
http://mcpierce.multiply.com/
"What do you care what people think, Mr. Feynman?"
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux