Setting GCC version to 3.3

paul cooke paul.cooke100 at blueyonder.co.uk
Mon Mar 13 21:13:52 UTC 2006


On Monday 13 March 2006 00:17, Michael Williams wrote:
> > I find this a very bad idea. It seems to me quite clumsy and very
> > errorprone. Most sensible Makefiles respect the Variables CC for the
> > C-compiler and CXX for the c++ compiler. So setting them on the shell
> > like that should work for most Makefiles:
> >
> > export CC=gcc-3.3
> > export CXX=g++-3.3
>
> Unfortunately the arcane, baroque build scripts I'm dealing with are  
> not sensible makefiles :-[

the solution lies in your hands... edit the scripts so that they do respect 
the environment variables in future... an ounce of pain now will save you 
endless grief and crude hackarounds in the future




More information about the ubuntu-users mailing list