RE: llvm in head?

2010-06-14 Thread Johan Hendriks
Hello,

How to use llvm/clang to build the world and the kernel in HEAD since
the import? The wiki on clangBSD is not clear on this point (I think
it has not been updated).

Thanks, regards.

On i386, AMD64 and ppc you do not have to do anything.
It will be build with clang/llvm by default.

regards,
Johan Hendriks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: llvm in head?

2010-06-14 Thread Koop Mast
On Sun, 2010-06-13 at 15:36 +0200, Patrick Lamaiziere wrote:
 Hello,
 
 How to use llvm/clang to build the world and the kernel in HEAD since
 the import? The wiki on clangBSD is not clear on this point (I think
 it has not been updated).

You can't yet atm. The Makefile chances to make that happen haven't been
committed yet.

 Thanks, regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: llvm in head?

2010-06-14 Thread Patrick Lamaiziere
Le Mon, 14 Jun 2010 16:46:22 +0200,
Johan Hendriks jo...@double-l.nl a écrit :

 Hello,
 
 How to use llvm/clang to build the world and the kernel in HEAD since
 the import? The wiki on clangBSD is not clear on this point (I think
 it has not been updated).
 
 Thanks, regards.
 
 On i386, AMD64 and ppc you do not have to do anything.
 It will be build with clang/llvm by default.

Sure, but my question is to build the world and the kernel using it.

I've setup a fresh current in a virtual box, then set up
/etc/src.conf with:
CC=clang
NO_WERROR=
WERROR=

Then if I try to do a make buildworld, clang is used but it always fails
while building libgcc.

So I think I missed something.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: llvm in head?

2010-06-14 Thread Patrick Lamaiziere
Le Tue, 15 Jun 2010 01:01:40 +0200,
Koop Mast k...@rainbow-runner.nl a écrit :

  How to use llvm/clang to build the world and the kernel in HEAD
  since the import? The wiki on clangBSD is not clear on this point
  (I think it has not been updated).
 
 You can't yet atm. The Makefile chances to make that happen haven't
 been committed yet.

Ah! I will wait so.

I would like to test it on a real machine, how is the stability of
head nowadays? I used head between 7 and 8 and that worked mostly fine.

Thanks, regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


llvm in head?

2010-06-13 Thread Patrick Lamaiziere
Hello,

How to use llvm/clang to build the world and the kernel in HEAD since
the import? The wiki on clangBSD is not clear on this point (I think
it has not been updated).

Thanks, regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org