Date: Wed, 10 Apr 2013 20:01:57 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Brooks Davis <brooks@FreeBSD.org> Cc: deeptech71 <deeptech71@gmail.com>, freebsd-hackers@FreeBSD.org Subject: Re: building world and kernel without ebuilding ("bootstrap"?) clang? Message-ID: <504187318.20130410200157@serebryakov.spb.ru> In-Reply-To: <20130410145004.GA66560@lor.one-eyed-alien.net> References: <5164815A.6040908@gmail.com> <1952710103.20130410180935@serebryakov.spb.ru> <20130410145004.GA66560@lor.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Brooks. You wrote 10 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2013 =D0=B3., 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=3D/path/to/clang XCXX=3D/path/to/clang++ XCPP=3Dclang-cp= p 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' :) --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?504187318.20130410200157>