[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: choosing version of gcc to compile with



On Mon, Jun 23, 2003 at 07:45:30PM -0400, Matt Price wrote:
> Hi,
> 
> How do I tell make (or, in the case of a kernel compile, make-kpkg)
> which verison of gcc to compile with?
> 
> thanks,
> matt

I've seen various recommendations:
1) CC=xxxx (or CXX)
kernel builds, at least with some add-ons, apparently require some
other variable get set too.  I can't remember it offhand.

or
2) edit the makefiles by hand (ugh)

or
3) use dpkg-divert to set the default cc tools.  Note gcc does not use
/etc/alternatives, and this is deliberate.




Reply to: