On Wed, Jun 02, 2010 at 11:48:11PM +0200, Pawel Worach wrote: > On May 31, 2010, at 16:57, Steve Kargl wrote: > > > > Can clang/LLVM build the livefs and bootonly CD's? > > > > There is a buildbot here[1] that builds a live CD for boot > testing, so I would say it works. > > [1] http://amd64-clang-bot.qat.freebsd.org:8010/ >
Clang cannot build a FreeBSD without the help of gcc. http://amd64-clang-bot.qat.freebsd.org:8010/freebsd.diff Index: sys/boot/i386/boot2/Makefile =================================================================== --- sys/boot/i386/boot2/Makefile (revision 208675) +++ sys/boot/i386/boot2/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + FILES= boot boot1 boot2 NM?= nm ndex: sys/boot/i386/zfsboot/Makefile =================================================================== --- sys/boot/i386/zfsboot/Makefile (revision 208675) +++ sys/boot/i386/zfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 Index: sys/boot/i386/gptboot/Makefile =================================================================== --- sys/boot/i386/gptboot/Makefile (revision 208675) +++ sys/boot/i386/gptboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 FILES= gptboot Index: sys/boot/i386/gptzfsboot/Makefile =================================================================== --- sys/boot/i386/gptzfsboot/Makefile (revision 208675) +++ sys/boot/i386/gptzfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../gptboot ${.CURDIR}/../zfsboot FILES= gptzfsboot -- Steve _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"