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 <l...@freebsd.org> _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"