building world and kernel without ebuilding ("bootstrap"?) clang?
Lev Serebryakov
lev at FreeBSD.org
Wed Apr 10 16:02:05 UTC 2013
Hello, Brooks.
You wrote 10 апреля 2013 г., 18:50:04:
BD> The key is to pass the --sysroot option to the compiler. I've got a not
BD> quite finished (mostly due to a complete lack of documentation) set of
BD> patches to Makefile.inc1 to do this:
BD> http://people.freebsd.org/~brooks/patches/xcc3.diff
BD> If you set XCC=/path/to/clang XCXX=/path/to/clang++ XCPP=clang-cpp then
BD> when building world and kernel you will use those compilers and not
BD> build a cross compiler. In that mode you will still build and use a
BD> cross binutils
BTW, building binutils is required by `install -s' :)
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-hackers
mailing list