Re: How to insist on only clang, for world/kernel?

2016-03-13 Thread Chris H
On Sun, 13 Mar 2016 17:32:55 -0600 Warner Losh  wrote

> Then you may be able to do make buildworld CC=clang (or whatever clang is
> compiled as.
> No guarantee, sine I've not played with 9.x in a while.
> 
> Warner
Apologies. Appears my response wasn't clear.
I had no difficulties getting clang (and only clang) by placing
your suggestions in src.conf(5). Whereas prior to those, I got
gcc as cc.

Thanks again, Warner.
> 
> 
> On Fri, Mar 11, 2016 at 8:20 AM, Chris H  wrote:
> 
> > On Thu, 10 Mar 2016 21:49:01 -0700 Warner Losh  wrote
> >
> > > make buildworld WITH_CLANG=t WITH_CLANG_BOOTSTRAP=t WITHOUT_GCC=y
> > > WITHOUT_GCC_BOOTSTRAP=t WITH_CLANG_IS_CC=t
> > > make buildkernel
> > >
> > > But that's mostly default these days, so really most people get what you
> > > want by doing
> > >
> > > make buildworld buildkernel
> > >
> > > Warner
> > Thanks for the quick reply, Warner!
> > This is on RELENG_9, so I *don't* get that by default. ;)
> > But true. Everything else I run in on -CURRENT, and indeed gets
> > the options you indicate above out-of-the-box.
> >
> > Thanks again, Warner.
> > >
> > > On Thu, Mar 10, 2016 at 9:23 PM, Chris H  wrote:
> > >
> > > > Greetings,
> > > >  A recent build/install world/kernel on a fresh 9-STABLE.
> > > > I was surprised to see that, while clang was also built,
> > > > gcc was used to perform the build for at least world.
> > > > I performed some research to definitively determine the
> > > > magic incantation for at least src.conf(5). However, I
> > > > found too many possibilities to be sure. So I'm here
> > > > to beg for the answer.
> > > >
> > > > The most likely candidates I have so far
> > > >
> > > > FAVORITE_COMPILER=clang
> > > > MAKE_COMPILER_TYPE=clang
> > > > WITH_CLANG=true
> > > > CC=clang
> > > > CXX=clang++
> > > > CPP=clang-cpp
> > > >
> > > > Thanks you.
> > > >
> >
> > --Chris
> >
> > --
> >
> >
> >


--Chris

--


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


Re: How to insist on only clang, for world/kernel?

2016-03-13 Thread Warner Losh
Then you may be able to do make buildworld CC=clang (or whatever clang is
compiled as.
No guarantee, sine I've not played with 9.x in a while.

Warner


On Fri, Mar 11, 2016 at 8:20 AM, Chris H  wrote:

> On Thu, 10 Mar 2016 21:49:01 -0700 Warner Losh  wrote
>
> > make buildworld WITH_CLANG=t WITH_CLANG_BOOTSTRAP=t WITHOUT_GCC=y
> > WITHOUT_GCC_BOOTSTRAP=t WITH_CLANG_IS_CC=t
> > make buildkernel
> >
> > But that's mostly default these days, so really most people get what you
> > want by doing
> >
> > make buildworld buildkernel
> >
> > Warner
> Thanks for the quick reply, Warner!
> This is on RELENG_9, so I *don't* get that by default. ;)
> But true. Everything else I run in on -CURRENT, and indeed gets
> the options you indicate above out-of-the-box.
>
> Thanks again, Warner.
> >
> > On Thu, Mar 10, 2016 at 9:23 PM, Chris H  wrote:
> >
> > > Greetings,
> > >  A recent build/install world/kernel on a fresh 9-STABLE.
> > > I was surprised to see that, while clang was also built,
> > > gcc was used to perform the build for at least world.
> > > I performed some research to definitively determine the
> > > magic incantation for at least src.conf(5). However, I
> > > found too many possibilities to be sure. So I'm here
> > > to beg for the answer.
> > >
> > > The most likely candidates I have so far
> > >
> > > FAVORITE_COMPILER=clang
> > > MAKE_COMPILER_TYPE=clang
> > > WITH_CLANG=true
> > > CC=clang
> > > CXX=clang++
> > > CPP=clang-cpp
> > >
> > > Thanks you.
> > >
>
> --Chris
>
> --
>
>
>
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


Re: How to insist on only clang, for world/kernel?

2016-03-11 Thread Chris H
On Thu, 10 Mar 2016 21:49:01 -0700 Warner Losh  wrote

> make buildworld WITH_CLANG=t WITH_CLANG_BOOTSTRAP=t WITHOUT_GCC=y
> WITHOUT_GCC_BOOTSTRAP=t WITH_CLANG_IS_CC=t
> make buildkernel
> 
> But that's mostly default these days, so really most people get what you
> want by doing
> 
> make buildworld buildkernel
> 
> Warner
Thanks for the quick reply, Warner!
This is on RELENG_9, so I *don't* get that by default. ;)
But true. Everything else I run in on -CURRENT, and indeed gets
the options you indicate above out-of-the-box.

Thanks again, Warner.
> 
> On Thu, Mar 10, 2016 at 9:23 PM, Chris H  wrote:
> 
> > Greetings,
> >  A recent build/install world/kernel on a fresh 9-STABLE.
> > I was surprised to see that, while clang was also built,
> > gcc was used to perform the build for at least world.
> > I performed some research to definitively determine the
> > magic incantation for at least src.conf(5). However, I
> > found too many possibilities to be sure. So I'm here
> > to beg for the answer.
> >
> > The most likely candidates I have so far
> >
> > FAVORITE_COMPILER=clang
> > MAKE_COMPILER_TYPE=clang
> > WITH_CLANG=true
> > CC=clang
> > CXX=clang++
> > CPP=clang-cpp
> >
> > Thanks you.
> >

--Chris

--


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


Re: How to insist on only clang, for world/kernel?

2016-03-10 Thread Warner Losh
make buildworld WITH_CLANG=t WITH_CLANG_BOOTSTRAP=t WITHOUT_GCC=y
WITHOUT_GCC_BOOTSTRAP=t WITH_CLANG_IS_CC=t
make buildkernel

But that's mostly default these days, so really most people get what you
want by doing

make buildworld buildkernel

Warner

On Thu, Mar 10, 2016 at 9:23 PM, Chris H  wrote:

> Greetings,
>  A recent build/install world/kernel on a fresh 9-STABLE.
> I was surprised to see that, while clang was also built,
> gcc was used to perform the build for at least world.
> I performed some research to definitively determine the
> magic incantation for at least src.conf(5). However, I
> found too many possibilities to be sure. So I'm here
> to beg for the answer.
>
> The most likely candidates I have so far
>
> FAVORITE_COMPILER=clang
> MAKE_COMPILER_TYPE=clang
> WITH_CLANG=true
> CC=clang
> CXX=clang++
> CPP=clang-cpp
>
> Thanks you.
>
> --Chris
>
> --
>
>
> ___
> freebsd-toolchain@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "
> freebsd-toolchain-unsubscr...@freebsd.org"
>
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"