Re: Import of clang/LLVM about to start

2010-06-11 Thread Alexander Best
thanks a lot for the hints. doing buildkernel and buildworld with current src worked fine. how should i proceed if i want to try building kernel and world with clang? put CC, CXX and CPP in src.conf? or make.conf? or use envars? cheers. alex On Thu, Jun 10, 2010 at 12:52 AM, jhell

Re: Import of clang/LLVM about to start

2010-06-11 Thread Roman Divacky
On Fri, Jun 11, 2010 at 04:00:26PM +0200, Alexander Best wrote: thanks a lot for the hints. doing buildkernel and buildworld with current src worked fine. how should i proceed if i want to try building kernel and world with clang? put CC, CXX and CPP in src.conf? or make.conf? or use envars?

Re: Import of clang/LLVM about to start

2010-06-11 Thread Ivan Voras
On 06/11/10 15:58, Roman Divacky wrote: On Fri, Jun 11, 2010 at 04:00:26PM +0200, Alexander Best wrote: thanks a lot for the hints. doing buildkernel and buildworld with current src worked fine. how should i proceed if i want to try building kernel and world with clang? put CC, CXX and CPP

Re: Import of clang/LLVM about to start

2010-06-11 Thread Andrius Morkūnas
On Fri, 11 Jun 2010 17:34:59 +0300, Ivan Voras ivo...@freebsd.org wrote: But to clarify if I get it correctly, using src.conf will only affect world+kernel, make.conf (and env vars) will also affect ports? make.conf will affect ports, src and everything else that uses make. Read make(1) and

Re: Import of clang/LLVM about to start

2010-06-11 Thread Alexander Best
oh ok. thanks. i encountered some errors yesterday while trying to build world with clang, but i'll try again and if it fails again i'll send you the details. cheers. alex On Fri, Jun 11, 2010 at 3:58 PM, Roman Divacky rdiva...@freebsd.org wrote: On Fri, Jun 11, 2010 at 04:00:26PM +0200,

Re: Import of clang/LLVM about to start

2010-06-10 Thread David Sanders
Am I just being stupid or should I expect my fresh svn co to build using Clang on i386 targets? It seems to use gcc still. Do I still need src.conf set up as per the wiki page? Thanks David ___ freebsd-current@freebsd.org mailing list

Re: Import of clang/LLVM about to start

2010-06-10 Thread Alberto Villa
On Thursday 10 June 2010 23:28:03 David Sanders wrote: Am I just being stupid or should I expect my fresh svn co to build using Clang on i386 targets? It seems to use gcc still. Do I still need src.conf set up as per the wiki page? as far as i understand, only the clang binary and libraries

Re: Import of clang/LLVM about to start

2010-06-09 Thread Roman Divacky
the import is finished. feel free to commit and enjoy clang :) On Wed, Jun 09, 2010 at 07:45:16PM +0200, Roman Divacky wrote: Hi, The import of clang/LLVM is about to start. I'll announce when the import is finished. It would be nice if you didn't commit while the import is in

Re: Import of clang/LLVM about to start

2010-06-09 Thread Alexander Best
that's great news! :) just tried to do `make depend all` in usr.bin/clang and got: === clang (depend) tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include

Re: Import of clang/LLVM about to start

2010-06-09 Thread Roman Divacky
I dont see the error message but I guess you dont have tblgen built (a necessary part for building clang/LLVM) buildworld should be fine On Wed, Jun 09, 2010 at 11:30:10PM +0200, Alexander Best wrote: that's great news! :) just tried to do `make depend all` in usr.bin/clang and got: ===

Re: Import of clang/LLVM about to start

2010-06-09 Thread Garrett Cooper
On Wed, Jun 9, 2010 at 2:30 PM, Alexander Best alexbes...@uni-muenster.de wrote: that's great news! :) just tried to do `make depend all` in usr.bin/clang and got: === clang (depend) tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include

Re: Import of clang/LLVM about to start

2010-06-09 Thread jhell
On 06/09/2010 17:31, Roman Divacky wrote: I dont see the error message but I guess you dont have tblgen built (a necessary part for building clang/LLVM) buildworld should be fine On Wed, Jun 09, 2010 at 11:30:10PM +0200, Alexander Best wrote: that's great news! :) just tried to do `make