On Thu, 22 Mar 2007 14:18:03 -0700 (PDT) [EMAIL PROTECTED] wrote: > On Thu, 22 Mar 2007, White Hat wrote: > > > --- Chuck Swiger <[EMAIL PROTECTED]> wrote: > > > >> On Mar 22, 2007, at 12:34 PM, White Hat wrote: > >>>> Add: > >>>> > >>>> CC?= /usr/local/bin/gcc > >>>> CXX?= /usr/local/bin/g++ > >>>> > >>>> ...to /etc/make.conf. You might also find > >> looking > >>>> at /usr/ports/Mk/ > >>>> bsd.gcc.mk to be informative... > >>> > >>> Thanks! One other question; why the '?' mark? I > > was > >>> Googling for information on gcc, and it listed > >> 'cxx=' > >>> sans a question mark in it. > >> > >> It means "set CC to this value if it's not already > >> set to something". > >> > >> Some ports already know they need a newer version of > >> gcc (using > >> "USE_GCC="), and the "make world" infrastructure to > >> rebuild the > >> kernel/userland need to use the system-provided > >> compiler, so using > >> the question mark lets things which know better use > >> the exact > >> compiler they want. > > > > Thanks! I could not find that information anywhere, > > although I am sure it does exist. > > Does the make.conf manpage need to be updated? It doesn't appear to > reference either USE_GCC= or CC= or CXX= at all.. -Garrett > From the porters' Handbook
"Note: It is always incorrect to set any USE_* in /etc/make.conf." _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
